home *** CD-ROM | disk | FTP | other *** search
/ Enter 2006 September / Enter 09 2006.iso / Internet / SpamExperts Home 1.1 / SpamExperts Home.exe / lib / spamexperts.modules / wx / _windows.pyc (.txt) < prev   
Encoding:
Python Compiled Bytecode  |  2006-07-14  |  235.6 KB  |  6,285 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.4)
  3.  
  4. import _windows_
  5.  
  6. def _swig_setattr_nondynamic(self, class_type, name, value, static = 1):
  7.     if name == 'this':
  8.         if isinstance(value, class_type):
  9.             self.__dict__[name] = value.this
  10.             if hasattr(value, 'thisown'):
  11.                 self.__dict__['thisown'] = value.thisown
  12.             
  13.             del value.thisown
  14.             return None
  15.         
  16.     
  17.     method = class_type.__swig_setmethods__.get(name, None)
  18.     if method:
  19.         return method(self, value)
  20.     
  21.     if not static and hasattr(self, name) or name == 'thisown':
  22.         self.__dict__[name] = value
  23.     else:
  24.         raise AttributeError('You cannot add attributes to %s' % self)
  25.  
  26.  
  27. def _swig_setattr(self, class_type, name, value):
  28.     return _swig_setattr_nondynamic(self, class_type, name, value, 0)
  29.  
  30.  
  31. def _swig_getattr(self, class_type, name):
  32.     method = class_type.__swig_getmethods__.get(name, None)
  33.     if method:
  34.         return method(self)
  35.     
  36.     raise AttributeError, name
  37.  
  38. import types
  39.  
  40. try:
  41.     _object = types.ObjectType
  42.     _newclass = 1
  43. except AttributeError:
  44.     
  45.     class _object:
  46.         pass
  47.  
  48.     _newclass = 0
  49.  
  50. del types
  51.  
  52. def _swig_setattr_nondynamic_method(set):
  53.     
  54.     def set_attr(self, name, value):
  55.         if hasattr(self, name) or name in ('this', 'thisown'):
  56.             set(self, name, value)
  57.         else:
  58.             raise AttributeError('You cannot add attributes to %s' % self)
  59.  
  60.     return set_attr
  61.  
  62. import _core
  63. wx = _core
  64.  
  65. class Panel(_core.Window):
  66.     '''Proxy of C++ Panel class'''
  67.     
  68.     def __repr__(self):
  69.         return '<%s.%s; proxy of C++ wxPanel instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  70.  
  71.     
  72.     def __init__(self, *args, **kwargs):
  73.         '''
  74.         __init__(self, Window parent, int id=-1, Point pos=DefaultPosition, 
  75.             Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, 
  76.             String name=PanelNameStr) -> Panel
  77.         '''
  78.         newobj = _windows_.new_Panel(*args, **kwargs)
  79.         self.this = newobj.this
  80.         self.thisown = 1
  81.         del newobj.thisown
  82.         self._setOORInfo(self)
  83.  
  84.     
  85.     def Create(*args, **kwargs):
  86.         '''
  87.         Create(self, Window parent, int id=-1, Point pos=DefaultPosition, 
  88.             Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, 
  89.             String name=PanelNameStr) -> bool
  90.  
  91.         Create the GUI part of the Window for 2-phase creation mode.
  92.         '''
  93.         return _windows_.Panel_Create(*args, **kwargs)
  94.  
  95.     
  96.     def InitDialog(*args, **kwargs):
  97.         '''
  98.         InitDialog(self)
  99.  
  100.         Sends an EVT_INIT_DIALOG event, whose handler usually transfers data
  101.         to the dialog via validators.
  102.         '''
  103.         return _windows_.Panel_InitDialog(*args, **kwargs)
  104.  
  105.     
  106.     def SetFocus(*args, **kwargs):
  107.         '''
  108.         SetFocus(self)
  109.  
  110.         Overrides `wx.Window.SetFocus`.  This method uses the (undocumented)
  111.         mix-in class wxControlContainer which manages the focus and TAB logic
  112.         for controls which usually have child controls.  In practice, if you
  113.         call this method and the panel has at least one child window, then the
  114.         focus will be given to the child window.
  115.         '''
  116.         return _windows_.Panel_SetFocus(*args, **kwargs)
  117.  
  118.     
  119.     def SetFocusIgnoringChildren(*args, **kwargs):
  120.         '''
  121.         SetFocusIgnoringChildren(self)
  122.  
  123.         In contrast to `SetFocus` (see above) this will set the focus to the
  124.         panel even of there are child windows in the panel. This is only
  125.         rarely needed.
  126.         '''
  127.         return _windows_.Panel_SetFocusIgnoringChildren(*args, **kwargs)
  128.  
  129.     
  130.     def GetClassDefaultAttributes(*args, **kwargs):
  131.         """
  132.         GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
  133.  
  134.         Get the default attributes for this class.  This is useful if you want
  135.         to use the same font or colour in your own control as in a standard
  136.         control -- which is a much better idea than hard coding specific
  137.         colours or fonts which might look completely out of place on the
  138.         user's system, especially if it uses themes.
  139.  
  140.         The variant parameter is only relevant under Mac currently and is
  141.         ignore under other platforms. Under Mac, it will change the size of
  142.         the returned font. See `wx.Window.SetWindowVariant` for more about
  143.         this.
  144.         """
  145.         return _windows_.Panel_GetClassDefaultAttributes(*args, **kwargs)
  146.  
  147.     GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
  148.  
  149.  
  150. class PanelPtr(Panel):
  151.     
  152.     def __init__(self, this):
  153.         self.this = this
  154.         if not hasattr(self, 'thisown'):
  155.             self.thisown = 0
  156.         
  157.         self.__class__ = Panel
  158.  
  159.  
  160. _windows_.Panel_swigregister(PanelPtr)
  161.  
  162. def PrePanel(*args, **kwargs):
  163.     '''PrePanel() -> Panel'''
  164.     val = _windows_.new_PrePanel(*args, **kwargs)
  165.     val.thisown = 1
  166.     return val
  167.  
  168.  
  169. def Panel_GetClassDefaultAttributes(*args, **kwargs):
  170.     """
  171.     Panel_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
  172.  
  173.     Get the default attributes for this class.  This is useful if you want
  174.     to use the same font or colour in your own control as in a standard
  175.     control -- which is a much better idea than hard coding specific
  176.     colours or fonts which might look completely out of place on the
  177.     user's system, especially if it uses themes.
  178.  
  179.     The variant parameter is only relevant under Mac currently and is
  180.     ignore under other platforms. Under Mac, it will change the size of
  181.     the returned font. See `wx.Window.SetWindowVariant` for more about
  182.     this.
  183.     """
  184.     return _windows_.Panel_GetClassDefaultAttributes(*args, **kwargs)
  185.  
  186.  
  187. class ScrolledWindow(Panel):
  188.     '''Proxy of C++ ScrolledWindow class'''
  189.     
  190.     def __repr__(self):
  191.         return '<%s.%s; proxy of C++ wxScrolledWindow instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  192.  
  193.     
  194.     def __init__(self, *args, **kwargs):
  195.         '''
  196.         __init__(self, Window parent, int id=-1, Point pos=DefaultPosition, 
  197.             Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL, 
  198.             String name=PanelNameStr) -> ScrolledWindow
  199.         '''
  200.         newobj = _windows_.new_ScrolledWindow(*args, **kwargs)
  201.         self.this = newobj.this
  202.         self.thisown = 1
  203.         del newobj.thisown
  204.         self._setOORInfo(self)
  205.  
  206.     
  207.     def Create(*args, **kwargs):
  208.         '''
  209.         Create(self, Window parent, int id=-1, Point pos=DefaultPosition, 
  210.             Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL, 
  211.             String name=PanelNameStr) -> bool
  212.  
  213.         Create the GUI part of the Window for 2-phase creation mode.
  214.         '''
  215.         return _windows_.ScrolledWindow_Create(*args, **kwargs)
  216.  
  217.     
  218.     def SetScrollbars(*args, **kwargs):
  219.         '''
  220.         SetScrollbars(self, int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX, 
  221.             int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False)
  222.         '''
  223.         return _windows_.ScrolledWindow_SetScrollbars(*args, **kwargs)
  224.  
  225.     
  226.     def Scroll(*args, **kwargs):
  227.         '''Scroll(self, int x, int y)'''
  228.         return _windows_.ScrolledWindow_Scroll(*args, **kwargs)
  229.  
  230.     
  231.     def GetScrollPageSize(*args, **kwargs):
  232.         '''GetScrollPageSize(self, int orient) -> int'''
  233.         return _windows_.ScrolledWindow_GetScrollPageSize(*args, **kwargs)
  234.  
  235.     
  236.     def SetScrollPageSize(*args, **kwargs):
  237.         '''SetScrollPageSize(self, int orient, int pageSize)'''
  238.         return _windows_.ScrolledWindow_SetScrollPageSize(*args, **kwargs)
  239.  
  240.     
  241.     def SetScrollRate(*args, **kwargs):
  242.         '''SetScrollRate(self, int xstep, int ystep)'''
  243.         return _windows_.ScrolledWindow_SetScrollRate(*args, **kwargs)
  244.  
  245.     
  246.     def GetScrollPixelsPerUnit(*args, **kwargs):
  247.         '''
  248.         GetScrollPixelsPerUnit() -> (xUnit, yUnit)
  249.  
  250.         Get the size of one logical unit in physical units.
  251.         '''
  252.         return _windows_.ScrolledWindow_GetScrollPixelsPerUnit(*args, **kwargs)
  253.  
  254.     
  255.     def EnableScrolling(*args, **kwargs):
  256.         '''EnableScrolling(self, bool x_scrolling, bool y_scrolling)'''
  257.         return _windows_.ScrolledWindow_EnableScrolling(*args, **kwargs)
  258.  
  259.     
  260.     def GetViewStart(*args, **kwargs):
  261.         '''
  262.         GetViewStart() -> (x,y)
  263.  
  264.         Get the view start
  265.         '''
  266.         return _windows_.ScrolledWindow_GetViewStart(*args, **kwargs)
  267.  
  268.     
  269.     def SetScale(*args, **kwargs):
  270.         '''SetScale(self, double xs, double ys)'''
  271.         return _windows_.ScrolledWindow_SetScale(*args, **kwargs)
  272.  
  273.     
  274.     def GetScaleX(*args, **kwargs):
  275.         '''GetScaleX(self) -> double'''
  276.         return _windows_.ScrolledWindow_GetScaleX(*args, **kwargs)
  277.  
  278.     
  279.     def GetScaleY(*args, **kwargs):
  280.         '''GetScaleY(self) -> double'''
  281.         return _windows_.ScrolledWindow_GetScaleY(*args, **kwargs)
  282.  
  283.     
  284.     def CalcScrolledPosition(*args):
  285.         '''
  286.         CalcScrolledPosition(self, Point pt) -> Point
  287.         CalcScrolledPosition(int x, int y) -> (sx, sy)
  288.  
  289.         Translate between scrolled and unscrolled coordinates.
  290.         '''
  291.         return _windows_.ScrolledWindow_CalcScrolledPosition(*args)
  292.  
  293.     
  294.     def CalcUnscrolledPosition(*args):
  295.         '''
  296.         CalcUnscrolledPosition(self, Point pt) -> Point
  297.         CalcUnscrolledPosition(int x, int y) -> (ux, uy)
  298.  
  299.         Translate between scrolled and unscrolled coordinates.
  300.         '''
  301.         return _windows_.ScrolledWindow_CalcUnscrolledPosition(*args)
  302.  
  303.     
  304.     def AdjustScrollbars(*args, **kwargs):
  305.         '''AdjustScrollbars(self)'''
  306.         return _windows_.ScrolledWindow_AdjustScrollbars(*args, **kwargs)
  307.  
  308.     
  309.     def CalcScrollInc(*args, **kwargs):
  310.         '''CalcScrollInc(self, ScrollWinEvent event) -> int'''
  311.         return _windows_.ScrolledWindow_CalcScrollInc(*args, **kwargs)
  312.  
  313.     
  314.     def SetTargetWindow(*args, **kwargs):
  315.         '''SetTargetWindow(self, Window target)'''
  316.         return _windows_.ScrolledWindow_SetTargetWindow(*args, **kwargs)
  317.  
  318.     
  319.     def GetTargetWindow(*args, **kwargs):
  320.         '''GetTargetWindow(self) -> Window'''
  321.         return _windows_.ScrolledWindow_GetTargetWindow(*args, **kwargs)
  322.  
  323.     
  324.     def SetTargetRect(*args, **kwargs):
  325.         '''SetTargetRect(self, Rect rect)'''
  326.         return _windows_.ScrolledWindow_SetTargetRect(*args, **kwargs)
  327.  
  328.     
  329.     def GetTargetRect(*args, **kwargs):
  330.         '''GetTargetRect(self) -> Rect'''
  331.         return _windows_.ScrolledWindow_GetTargetRect(*args, **kwargs)
  332.  
  333.     
  334.     def DoPrepareDC(*args, **kwargs):
  335.         '''
  336.         DoPrepareDC(self, DC dc)
  337.  
  338.         Normally what is called by `PrepareDC`.
  339.         '''
  340.         return _windows_.ScrolledWindow_DoPrepareDC(*args, **kwargs)
  341.  
  342.     
  343.     def GetClassDefaultAttributes(*args, **kwargs):
  344.         """
  345.         GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
  346.  
  347.         Get the default attributes for this class.  This is useful if you want
  348.         to use the same font or colour in your own control as in a standard
  349.         control -- which is a much better idea than hard coding specific
  350.         colours or fonts which might look completely out of place on the
  351.         user's system, especially if it uses themes.
  352.  
  353.         The variant parameter is only relevant under Mac currently and is
  354.         ignore under other platforms. Under Mac, it will change the size of
  355.         the returned font. See `wx.Window.SetWindowVariant` for more about
  356.         this.
  357.         """
  358.         return _windows_.ScrolledWindow_GetClassDefaultAttributes(*args, **kwargs)
  359.  
  360.     GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
  361.  
  362.  
  363. class ScrolledWindowPtr(ScrolledWindow):
  364.     
  365.     def __init__(self, this):
  366.         self.this = this
  367.         if not hasattr(self, 'thisown'):
  368.             self.thisown = 0
  369.         
  370.         self.__class__ = ScrolledWindow
  371.  
  372.  
  373. _windows_.ScrolledWindow_swigregister(ScrolledWindowPtr)
  374.  
  375. def PreScrolledWindow(*args, **kwargs):
  376.     '''PreScrolledWindow() -> ScrolledWindow'''
  377.     val = _windows_.new_PreScrolledWindow(*args, **kwargs)
  378.     val.thisown = 1
  379.     return val
  380.  
  381.  
  382. def ScrolledWindow_GetClassDefaultAttributes(*args, **kwargs):
  383.     """
  384.     ScrolledWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
  385.  
  386.     Get the default attributes for this class.  This is useful if you want
  387.     to use the same font or colour in your own control as in a standard
  388.     control -- which is a much better idea than hard coding specific
  389.     colours or fonts which might look completely out of place on the
  390.     user's system, especially if it uses themes.
  391.  
  392.     The variant parameter is only relevant under Mac currently and is
  393.     ignore under other platforms. Under Mac, it will change the size of
  394.     the returned font. See `wx.Window.SetWindowVariant` for more about
  395.     this.
  396.     """
  397.     return _windows_.ScrolledWindow_GetClassDefaultAttributes(*args, **kwargs)
  398.  
  399. STAY_ON_TOP = _windows_.STAY_ON_TOP
  400. ICONIZE = _windows_.ICONIZE
  401. MINIMIZE = _windows_.MINIMIZE
  402. MAXIMIZE = _windows_.MAXIMIZE
  403. CLOSE_BOX = _windows_.CLOSE_BOX
  404. THICK_FRAME = _windows_.THICK_FRAME
  405. SYSTEM_MENU = _windows_.SYSTEM_MENU
  406. MINIMIZE_BOX = _windows_.MINIMIZE_BOX
  407. MAXIMIZE_BOX = _windows_.MAXIMIZE_BOX
  408. TINY_CAPTION_HORIZ = _windows_.TINY_CAPTION_HORIZ
  409. TINY_CAPTION_VERT = _windows_.TINY_CAPTION_VERT
  410. RESIZE_BOX = _windows_.RESIZE_BOX
  411. RESIZE_BORDER = _windows_.RESIZE_BORDER
  412. DIALOG_NO_PARENT = _windows_.DIALOG_NO_PARENT
  413. DEFAULT_FRAME_STYLE = _windows_.DEFAULT_FRAME_STYLE
  414. DEFAULT_DIALOG_STYLE = _windows_.DEFAULT_DIALOG_STYLE
  415. FRAME_TOOL_WINDOW = _windows_.FRAME_TOOL_WINDOW
  416. FRAME_FLOAT_ON_PARENT = _windows_.FRAME_FLOAT_ON_PARENT
  417. FRAME_NO_WINDOW_MENU = _windows_.FRAME_NO_WINDOW_MENU
  418. FRAME_NO_TASKBAR = _windows_.FRAME_NO_TASKBAR
  419. FRAME_SHAPED = _windows_.FRAME_SHAPED
  420. FRAME_DRAWER = _windows_.FRAME_DRAWER
  421. FRAME_EX_METAL = _windows_.FRAME_EX_METAL
  422. DIALOG_EX_METAL = _windows_.DIALOG_EX_METAL
  423. DIALOG_MODAL = _windows_.DIALOG_MODAL
  424. DIALOG_MODELESS = _windows_.DIALOG_MODELESS
  425. USER_COLOURS = _windows_.USER_COLOURS
  426. NO_3D = _windows_.NO_3D
  427. FULLSCREEN_NOMENUBAR = _windows_.FULLSCREEN_NOMENUBAR
  428. FULLSCREEN_NOTOOLBAR = _windows_.FULLSCREEN_NOTOOLBAR
  429. FULLSCREEN_NOSTATUSBAR = _windows_.FULLSCREEN_NOSTATUSBAR
  430. FULLSCREEN_NOBORDER = _windows_.FULLSCREEN_NOBORDER
  431. FULLSCREEN_NOCAPTION = _windows_.FULLSCREEN_NOCAPTION
  432. FULLSCREEN_ALL = _windows_.FULLSCREEN_ALL
  433. TOPLEVEL_EX_DIALOG = _windows_.TOPLEVEL_EX_DIALOG
  434. USER_ATTENTION_INFO = _windows_.USER_ATTENTION_INFO
  435. USER_ATTENTION_ERROR = _windows_.USER_ATTENTION_ERROR
  436.  
  437. class TopLevelWindow(_core.Window):
  438.     '''Proxy of C++ TopLevelWindow class'''
  439.     
  440.     def __init__(self):
  441.         raise RuntimeError, 'No constructor defined'
  442.  
  443.     
  444.     def __repr__(self):
  445.         return '<%s.%s; proxy of C++ wxTopLevelWindow instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  446.  
  447.     
  448.     def Maximize(*args, **kwargs):
  449.         '''Maximize(self, bool maximize=True)'''
  450.         return _windows_.TopLevelWindow_Maximize(*args, **kwargs)
  451.  
  452.     
  453.     def Restore(*args, **kwargs):
  454.         '''Restore(self)'''
  455.         return _windows_.TopLevelWindow_Restore(*args, **kwargs)
  456.  
  457.     
  458.     def Iconize(*args, **kwargs):
  459.         '''Iconize(self, bool iconize=True)'''
  460.         return _windows_.TopLevelWindow_Iconize(*args, **kwargs)
  461.  
  462.     
  463.     def IsMaximized(*args, **kwargs):
  464.         '''IsMaximized(self) -> bool'''
  465.         return _windows_.TopLevelWindow_IsMaximized(*args, **kwargs)
  466.  
  467.     
  468.     def IsIconized(*args, **kwargs):
  469.         '''IsIconized(self) -> bool'''
  470.         return _windows_.TopLevelWindow_IsIconized(*args, **kwargs)
  471.  
  472.     
  473.     def GetIcon(*args, **kwargs):
  474.         '''GetIcon(self) -> Icon'''
  475.         return _windows_.TopLevelWindow_GetIcon(*args, **kwargs)
  476.  
  477.     
  478.     def SetIcon(*args, **kwargs):
  479.         '''SetIcon(self, Icon icon)'''
  480.         return _windows_.TopLevelWindow_SetIcon(*args, **kwargs)
  481.  
  482.     
  483.     def SetIcons(*args, **kwargs):
  484.         '''SetIcons(self, wxIconBundle icons)'''
  485.         return _windows_.TopLevelWindow_SetIcons(*args, **kwargs)
  486.  
  487.     
  488.     def ShowFullScreen(*args, **kwargs):
  489.         '''ShowFullScreen(self, bool show, long style=FULLSCREEN_ALL) -> bool'''
  490.         return _windows_.TopLevelWindow_ShowFullScreen(*args, **kwargs)
  491.  
  492.     
  493.     def IsFullScreen(*args, **kwargs):
  494.         '''IsFullScreen(self) -> bool'''
  495.         return _windows_.TopLevelWindow_IsFullScreen(*args, **kwargs)
  496.  
  497.     
  498.     def SetTitle(*args, **kwargs):
  499.         """
  500.         SetTitle(self, String title)
  501.  
  502.         Sets the window's title. Applicable only to frames and dialogs.
  503.         """
  504.         return _windows_.TopLevelWindow_SetTitle(*args, **kwargs)
  505.  
  506.     
  507.     def GetTitle(*args, **kwargs):
  508.         """
  509.         GetTitle(self) -> String
  510.  
  511.         Gets the window's title. Applicable only to frames and dialogs.
  512.         """
  513.         return _windows_.TopLevelWindow_GetTitle(*args, **kwargs)
  514.  
  515.     
  516.     def SetShape(*args, **kwargs):
  517.         '''SetShape(self, Region region) -> bool'''
  518.         return _windows_.TopLevelWindow_SetShape(*args, **kwargs)
  519.  
  520.     
  521.     def RequestUserAttention(*args, **kwargs):
  522.         '''RequestUserAttention(self, int flags=USER_ATTENTION_INFO)'''
  523.         return _windows_.TopLevelWindow_RequestUserAttention(*args, **kwargs)
  524.  
  525.     
  526.     def IsActive(*args, **kwargs):
  527.         '''IsActive(self) -> bool'''
  528.         return _windows_.TopLevelWindow_IsActive(*args, **kwargs)
  529.  
  530.     
  531.     def MacSetMetalAppearance(*args, **kwargs):
  532.         '''MacSetMetalAppearance(self, bool on)'''
  533.         return _windows_.TopLevelWindow_MacSetMetalAppearance(*args, **kwargs)
  534.  
  535.     
  536.     def MacGetMetalAppearance(*args, **kwargs):
  537.         '''MacGetMetalAppearance(self) -> bool'''
  538.         return _windows_.TopLevelWindow_MacGetMetalAppearance(*args, **kwargs)
  539.  
  540.     
  541.     def CenterOnScreen(*args, **kwargs):
  542.         '''
  543.         CenterOnScreen(self, int dir=BOTH)
  544.  
  545.         Center the window on screen
  546.         '''
  547.         return _windows_.TopLevelWindow_CenterOnScreen(*args, **kwargs)
  548.  
  549.     CentreOnScreen = CenterOnScreen
  550.  
  551.  
  552. class TopLevelWindowPtr(TopLevelWindow):
  553.     
  554.     def __init__(self, this):
  555.         self.this = this
  556.         if not hasattr(self, 'thisown'):
  557.             self.thisown = 0
  558.         
  559.         self.__class__ = TopLevelWindow
  560.  
  561.  
  562. _windows_.TopLevelWindow_swigregister(TopLevelWindowPtr)
  563. cvar = _windows_.cvar
  564. FrameNameStr = cvar.FrameNameStr
  565. DialogNameStr = cvar.DialogNameStr
  566. StatusLineNameStr = cvar.StatusLineNameStr
  567. ToolBarNameStr = cvar.ToolBarNameStr
  568.  
  569. class Frame(TopLevelWindow):
  570.     '''Proxy of C++ Frame class'''
  571.     
  572.     def __repr__(self):
  573.         return '<%s.%s; proxy of C++ wxFrame instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  574.  
  575.     
  576.     def __init__(self, *args, **kwargs):
  577.         '''
  578.         __init__(self, Window parent, int id=-1, String title=EmptyString, 
  579.             Point pos=DefaultPosition, Size size=DefaultSize, 
  580.             long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> Frame
  581.         '''
  582.         newobj = _windows_.new_Frame(*args, **kwargs)
  583.         self.this = newobj.this
  584.         self.thisown = 1
  585.         del newobj.thisown
  586.         self._setOORInfo(self)
  587.  
  588.     
  589.     def Create(*args, **kwargs):
  590.         '''
  591.         Create(self, Window parent, int id=-1, String title=EmptyString, 
  592.             Point pos=DefaultPosition, Size size=DefaultSize, 
  593.             long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool
  594.         '''
  595.         return _windows_.Frame_Create(*args, **kwargs)
  596.  
  597.     
  598.     def GetClientAreaOrigin(*args, **kwargs):
  599.         '''GetClientAreaOrigin(self) -> Point'''
  600.         return _windows_.Frame_GetClientAreaOrigin(*args, **kwargs)
  601.  
  602.     
  603.     def SendSizeEvent(*args, **kwargs):
  604.         '''SendSizeEvent(self)'''
  605.         return _windows_.Frame_SendSizeEvent(*args, **kwargs)
  606.  
  607.     
  608.     def SetMenuBar(*args, **kwargs):
  609.         '''SetMenuBar(self, MenuBar menubar)'''
  610.         return _windows_.Frame_SetMenuBar(*args, **kwargs)
  611.  
  612.     
  613.     def GetMenuBar(*args, **kwargs):
  614.         '''GetMenuBar(self) -> MenuBar'''
  615.         return _windows_.Frame_GetMenuBar(*args, **kwargs)
  616.  
  617.     
  618.     def ProcessCommand(*args, **kwargs):
  619.         '''ProcessCommand(self, int winid) -> bool'''
  620.         return _windows_.Frame_ProcessCommand(*args, **kwargs)
  621.  
  622.     Command = ProcessCommand
  623.     
  624.     def CreateStatusBar(*args, **kwargs):
  625.         '''
  626.         CreateStatusBar(self, int number=1, long style=DEFAULT_STATUSBAR_STYLE, int winid=0, 
  627.             String name=StatusLineNameStr) -> StatusBar
  628.         '''
  629.         return _windows_.Frame_CreateStatusBar(*args, **kwargs)
  630.  
  631.     
  632.     def GetStatusBar(*args, **kwargs):
  633.         '''GetStatusBar(self) -> StatusBar'''
  634.         return _windows_.Frame_GetStatusBar(*args, **kwargs)
  635.  
  636.     
  637.     def SetStatusBar(*args, **kwargs):
  638.         '''SetStatusBar(self, StatusBar statBar)'''
  639.         return _windows_.Frame_SetStatusBar(*args, **kwargs)
  640.  
  641.     
  642.     def SetStatusText(*args, **kwargs):
  643.         '''SetStatusText(self, String text, int number=0)'''
  644.         return _windows_.Frame_SetStatusText(*args, **kwargs)
  645.  
  646.     
  647.     def SetStatusWidths(*args, **kwargs):
  648.         '''SetStatusWidths(self, int widths)'''
  649.         return _windows_.Frame_SetStatusWidths(*args, **kwargs)
  650.  
  651.     
  652.     def PushStatusText(*args, **kwargs):
  653.         '''PushStatusText(self, String text, int number=0)'''
  654.         return _windows_.Frame_PushStatusText(*args, **kwargs)
  655.  
  656.     
  657.     def PopStatusText(*args, **kwargs):
  658.         '''PopStatusText(self, int number=0)'''
  659.         return _windows_.Frame_PopStatusText(*args, **kwargs)
  660.  
  661.     
  662.     def SetStatusBarPane(*args, **kwargs):
  663.         '''SetStatusBarPane(self, int n)'''
  664.         return _windows_.Frame_SetStatusBarPane(*args, **kwargs)
  665.  
  666.     
  667.     def GetStatusBarPane(*args, **kwargs):
  668.         '''GetStatusBarPane(self) -> int'''
  669.         return _windows_.Frame_GetStatusBarPane(*args, **kwargs)
  670.  
  671.     
  672.     def CreateToolBar(*args, **kwargs):
  673.         '''CreateToolBar(self, long style=-1, int winid=-1, String name=ToolBarNameStr) -> wxToolBar'''
  674.         return _windows_.Frame_CreateToolBar(*args, **kwargs)
  675.  
  676.     
  677.     def GetToolBar(*args, **kwargs):
  678.         '''GetToolBar(self) -> wxToolBar'''
  679.         return _windows_.Frame_GetToolBar(*args, **kwargs)
  680.  
  681.     
  682.     def SetToolBar(*args, **kwargs):
  683.         '''SetToolBar(self, wxToolBar toolbar)'''
  684.         return _windows_.Frame_SetToolBar(*args, **kwargs)
  685.  
  686.     
  687.     def DoGiveHelp(*args, **kwargs):
  688.         '''DoGiveHelp(self, String text, bool show)'''
  689.         return _windows_.Frame_DoGiveHelp(*args, **kwargs)
  690.  
  691.     
  692.     def DoMenuUpdates(*args, **kwargs):
  693.         '''DoMenuUpdates(self, Menu menu=None)'''
  694.         return _windows_.Frame_DoMenuUpdates(*args, **kwargs)
  695.  
  696.     
  697.     def GetClassDefaultAttributes(*args, **kwargs):
  698.         """
  699.         GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
  700.  
  701.         Get the default attributes for this class.  This is useful if you want
  702.         to use the same font or colour in your own control as in a standard
  703.         control -- which is a much better idea than hard coding specific
  704.         colours or fonts which might look completely out of place on the
  705.         user's system, especially if it uses themes.
  706.  
  707.         The variant parameter is only relevant under Mac currently and is
  708.         ignore under other platforms. Under Mac, it will change the size of
  709.         the returned font. See `wx.Window.SetWindowVariant` for more about
  710.         this.
  711.         """
  712.         return _windows_.Frame_GetClassDefaultAttributes(*args, **kwargs)
  713.  
  714.     GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
  715.  
  716.  
  717. class FramePtr(Frame):
  718.     
  719.     def __init__(self, this):
  720.         self.this = this
  721.         if not hasattr(self, 'thisown'):
  722.             self.thisown = 0
  723.         
  724.         self.__class__ = Frame
  725.  
  726.  
  727. _windows_.Frame_swigregister(FramePtr)
  728.  
  729. def PreFrame(*args, **kwargs):
  730.     '''PreFrame() -> Frame'''
  731.     val = _windows_.new_PreFrame(*args, **kwargs)
  732.     val.thisown = 1
  733.     return val
  734.  
  735.  
  736. def Frame_GetClassDefaultAttributes(*args, **kwargs):
  737.     """
  738.     Frame_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
  739.  
  740.     Get the default attributes for this class.  This is useful if you want
  741.     to use the same font or colour in your own control as in a standard
  742.     control -- which is a much better idea than hard coding specific
  743.     colours or fonts which might look completely out of place on the
  744.     user's system, especially if it uses themes.
  745.  
  746.     The variant parameter is only relevant under Mac currently and is
  747.     ignore under other platforms. Under Mac, it will change the size of
  748.     the returned font. See `wx.Window.SetWindowVariant` for more about
  749.     this.
  750.     """
  751.     return _windows_.Frame_GetClassDefaultAttributes(*args, **kwargs)
  752.  
  753.  
  754. class Dialog(TopLevelWindow):
  755.     '''Proxy of C++ Dialog class'''
  756.     
  757.     def __repr__(self):
  758.         return '<%s.%s; proxy of C++ wxDialog instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  759.  
  760.     
  761.     def __init__(self, *args, **kwargs):
  762.         '''
  763.         __init__(self, Window parent, int id=-1, String title=EmptyString, 
  764.             Point pos=DefaultPosition, Size size=DefaultSize, 
  765.             long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -> Dialog
  766.         '''
  767.         newobj = _windows_.new_Dialog(*args, **kwargs)
  768.         self.this = newobj.this
  769.         self.thisown = 1
  770.         del newobj.thisown
  771.         self._setOORInfo(self)
  772.  
  773.     
  774.     def Create(*args, **kwargs):
  775.         '''
  776.         Create(self, Window parent, int id=-1, String title=EmptyString, 
  777.             Point pos=DefaultPosition, Size size=DefaultSize, 
  778.             long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -> bool
  779.         '''
  780.         return _windows_.Dialog_Create(*args, **kwargs)
  781.  
  782.     
  783.     def SetReturnCode(*args, **kwargs):
  784.         '''SetReturnCode(self, int returnCode)'''
  785.         return _windows_.Dialog_SetReturnCode(*args, **kwargs)
  786.  
  787.     
  788.     def GetReturnCode(*args, **kwargs):
  789.         '''GetReturnCode(self) -> int'''
  790.         return _windows_.Dialog_GetReturnCode(*args, **kwargs)
  791.  
  792.     
  793.     def CreateTextSizer(*args, **kwargs):
  794.         '''CreateTextSizer(self, String message) -> Sizer'''
  795.         return _windows_.Dialog_CreateTextSizer(*args, **kwargs)
  796.  
  797.     
  798.     def CreateButtonSizer(*args, **kwargs):
  799.         '''CreateButtonSizer(self, long flags) -> Sizer'''
  800.         return _windows_.Dialog_CreateButtonSizer(*args, **kwargs)
  801.  
  802.     
  803.     def CreateStdDialogButtonSizer(*args, **kwargs):
  804.         '''CreateStdDialogButtonSizer(self, long flags) -> StdDialogButtonSizer'''
  805.         return _windows_.Dialog_CreateStdDialogButtonSizer(*args, **kwargs)
  806.  
  807.     
  808.     def IsModal(*args, **kwargs):
  809.         '''IsModal(self) -> bool'''
  810.         return _windows_.Dialog_IsModal(*args, **kwargs)
  811.  
  812.     
  813.     def ShowModal(*args, **kwargs):
  814.         '''ShowModal(self) -> int'''
  815.         return _windows_.Dialog_ShowModal(*args, **kwargs)
  816.  
  817.     
  818.     def EndModal(*args, **kwargs):
  819.         '''EndModal(self, int retCode)'''
  820.         return _windows_.Dialog_EndModal(*args, **kwargs)
  821.  
  822.     
  823.     def GetClassDefaultAttributes(*args, **kwargs):
  824.         """
  825.         GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
  826.  
  827.         Get the default attributes for this class.  This is useful if you want
  828.         to use the same font or colour in your own control as in a standard
  829.         control -- which is a much better idea than hard coding specific
  830.         colours or fonts which might look completely out of place on the
  831.         user's system, especially if it uses themes.
  832.  
  833.         The variant parameter is only relevant under Mac currently and is
  834.         ignore under other platforms. Under Mac, it will change the size of
  835.         the returned font. See `wx.Window.SetWindowVariant` for more about
  836.         this.
  837.         """
  838.         return _windows_.Dialog_GetClassDefaultAttributes(*args, **kwargs)
  839.  
  840.     GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
  841.     
  842.     def SendSizeEvent(self):
  843.         self.ProcessEvent(wx.SizeEvent((-1, -1)))
  844.  
  845.  
  846.  
  847. class DialogPtr(Dialog):
  848.     
  849.     def __init__(self, this):
  850.         self.this = this
  851.         if not hasattr(self, 'thisown'):
  852.             self.thisown = 0
  853.         
  854.         self.__class__ = Dialog
  855.  
  856.  
  857. _windows_.Dialog_swigregister(DialogPtr)
  858.  
  859. def PreDialog(*args, **kwargs):
  860.     '''PreDialog() -> Dialog'''
  861.     val = _windows_.new_PreDialog(*args, **kwargs)
  862.     val.thisown = 1
  863.     return val
  864.  
  865.  
  866. def Dialog_GetClassDefaultAttributes(*args, **kwargs):
  867.     """
  868.     Dialog_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
  869.  
  870.     Get the default attributes for this class.  This is useful if you want
  871.     to use the same font or colour in your own control as in a standard
  872.     control -- which is a much better idea than hard coding specific
  873.     colours or fonts which might look completely out of place on the
  874.     user's system, especially if it uses themes.
  875.  
  876.     The variant parameter is only relevant under Mac currently and is
  877.     ignore under other platforms. Under Mac, it will change the size of
  878.     the returned font. See `wx.Window.SetWindowVariant` for more about
  879.     this.
  880.     """
  881.     return _windows_.Dialog_GetClassDefaultAttributes(*args, **kwargs)
  882.  
  883.  
  884. class MiniFrame(Frame):
  885.     '''Proxy of C++ MiniFrame class'''
  886.     
  887.     def __repr__(self):
  888.         return '<%s.%s; proxy of C++ wxMiniFrame instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  889.  
  890.     
  891.     def __init__(self, *args, **kwargs):
  892.         '''
  893.         __init__(self, Window parent, int id=-1, String title=EmptyString, 
  894.             Point pos=DefaultPosition, Size size=DefaultSize, 
  895.             long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> MiniFrame
  896.         '''
  897.         newobj = _windows_.new_MiniFrame(*args, **kwargs)
  898.         self.this = newobj.this
  899.         self.thisown = 1
  900.         del newobj.thisown
  901.         self._setOORInfo(self)
  902.  
  903.     
  904.     def Create(*args, **kwargs):
  905.         '''
  906.         Create(self, Window parent, int id=-1, String title=EmptyString, 
  907.             Point pos=DefaultPosition, Size size=DefaultSize, 
  908.             long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool
  909.         '''
  910.         return _windows_.MiniFrame_Create(*args, **kwargs)
  911.  
  912.  
  913.  
  914. class MiniFramePtr(MiniFrame):
  915.     
  916.     def __init__(self, this):
  917.         self.this = this
  918.         if not hasattr(self, 'thisown'):
  919.             self.thisown = 0
  920.         
  921.         self.__class__ = MiniFrame
  922.  
  923.  
  924. _windows_.MiniFrame_swigregister(MiniFramePtr)
  925.  
  926. def PreMiniFrame(*args, **kwargs):
  927.     '''PreMiniFrame() -> MiniFrame'''
  928.     val = _windows_.new_PreMiniFrame(*args, **kwargs)
  929.     val.thisown = 1
  930.     return val
  931.  
  932. SPLASH_CENTRE_ON_PARENT = _windows_.SPLASH_CENTRE_ON_PARENT
  933. SPLASH_CENTRE_ON_SCREEN = _windows_.SPLASH_CENTRE_ON_SCREEN
  934. SPLASH_NO_CENTRE = _windows_.SPLASH_NO_CENTRE
  935. SPLASH_TIMEOUT = _windows_.SPLASH_TIMEOUT
  936. SPLASH_NO_TIMEOUT = _windows_.SPLASH_NO_TIMEOUT
  937.  
  938. class SplashScreenWindow(_core.Window):
  939.     '''Proxy of C++ SplashScreenWindow class'''
  940.     
  941.     def __repr__(self):
  942.         return '<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  943.  
  944.     
  945.     def __init__(self, *args, **kwargs):
  946.         '''
  947.         __init__(self, Bitmap bitmap, Window parent, int id, Point pos=DefaultPosition, 
  948.             Size size=DefaultSize, long style=NO_BORDER) -> SplashScreenWindow
  949.         '''
  950.         newobj = _windows_.new_SplashScreenWindow(*args, **kwargs)
  951.         self.this = newobj.this
  952.         self.thisown = 1
  953.         del newobj.thisown
  954.         self._setOORInfo(self)
  955.  
  956.     
  957.     def SetBitmap(*args, **kwargs):
  958.         '''SetBitmap(self, Bitmap bitmap)'''
  959.         return _windows_.SplashScreenWindow_SetBitmap(*args, **kwargs)
  960.  
  961.     
  962.     def GetBitmap(*args, **kwargs):
  963.         '''GetBitmap(self) -> Bitmap'''
  964.         return _windows_.SplashScreenWindow_GetBitmap(*args, **kwargs)
  965.  
  966.  
  967.  
  968. class SplashScreenWindowPtr(SplashScreenWindow):
  969.     
  970.     def __init__(self, this):
  971.         self.this = this
  972.         if not hasattr(self, 'thisown'):
  973.             self.thisown = 0
  974.         
  975.         self.__class__ = SplashScreenWindow
  976.  
  977.  
  978. _windows_.SplashScreenWindow_swigregister(SplashScreenWindowPtr)
  979.  
  980. class SplashScreen(Frame):
  981.     '''Proxy of C++ SplashScreen class'''
  982.     
  983.     def __repr__(self):
  984.         return '<%s.%s; proxy of C++ wxSplashScreen instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  985.  
  986.     
  987.     def __init__(self, *args, **kwargs):
  988.         '''
  989.         __init__(self, Bitmap bitmap, long splashStyle, int milliseconds, 
  990.             Window parent, int id=-1, Point pos=DefaultPosition, 
  991.             Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -> SplashScreen
  992.         '''
  993.         newobj = _windows_.new_SplashScreen(*args, **kwargs)
  994.         self.this = newobj.this
  995.         self.thisown = 1
  996.         del newobj.thisown
  997.         self._setOORInfo(self)
  998.  
  999.     
  1000.     def GetSplashStyle(*args, **kwargs):
  1001.         '''GetSplashStyle(self) -> long'''
  1002.         return _windows_.SplashScreen_GetSplashStyle(*args, **kwargs)
  1003.  
  1004.     
  1005.     def GetSplashWindow(*args, **kwargs):
  1006.         '''GetSplashWindow(self) -> SplashScreenWindow'''
  1007.         return _windows_.SplashScreen_GetSplashWindow(*args, **kwargs)
  1008.  
  1009.     
  1010.     def GetTimeout(*args, **kwargs):
  1011.         '''GetTimeout(self) -> int'''
  1012.         return _windows_.SplashScreen_GetTimeout(*args, **kwargs)
  1013.  
  1014.  
  1015.  
  1016. class SplashScreenPtr(SplashScreen):
  1017.     
  1018.     def __init__(self, this):
  1019.         self.this = this
  1020.         if not hasattr(self, 'thisown'):
  1021.             self.thisown = 0
  1022.         
  1023.         self.__class__ = SplashScreen
  1024.  
  1025.  
  1026. _windows_.SplashScreen_swigregister(SplashScreenPtr)
  1027. SB_NORMAL = _windows_.SB_NORMAL
  1028. SB_FLAT = _windows_.SB_FLAT
  1029. SB_RAISED = _windows_.SB_RAISED
  1030.  
  1031. class StatusBar(_core.Window):
  1032.     '''Proxy of C++ StatusBar class'''
  1033.     
  1034.     def __repr__(self):
  1035.         return '<%s.%s; proxy of C++ wxStatusBar instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  1036.  
  1037.     
  1038.     def __init__(self, *args, **kwargs):
  1039.         '''
  1040.         __init__(self, Window parent, int id=-1, long style=DEFAULT_STATUSBAR_STYLE, 
  1041.             String name=StatusLineNameStr) -> StatusBar
  1042.         '''
  1043.         newobj = _windows_.new_StatusBar(*args, **kwargs)
  1044.         self.this = newobj.this
  1045.         self.thisown = 1
  1046.         del newobj.thisown
  1047.         self._setOORInfo(self)
  1048.  
  1049.     
  1050.     def Create(*args, **kwargs):
  1051.         '''Create(self, Window parent, int id=-1, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -> bool'''
  1052.         return _windows_.StatusBar_Create(*args, **kwargs)
  1053.  
  1054.     
  1055.     def SetFieldsCount(*args, **kwargs):
  1056.         '''SetFieldsCount(self, int number=1)'''
  1057.         return _windows_.StatusBar_SetFieldsCount(*args, **kwargs)
  1058.  
  1059.     
  1060.     def GetFieldsCount(*args, **kwargs):
  1061.         '''GetFieldsCount(self) -> int'''
  1062.         return _windows_.StatusBar_GetFieldsCount(*args, **kwargs)
  1063.  
  1064.     
  1065.     def SetStatusText(*args, **kwargs):
  1066.         '''SetStatusText(self, String text, int number=0)'''
  1067.         return _windows_.StatusBar_SetStatusText(*args, **kwargs)
  1068.  
  1069.     
  1070.     def GetStatusText(*args, **kwargs):
  1071.         '''GetStatusText(self, int number=0) -> String'''
  1072.         return _windows_.StatusBar_GetStatusText(*args, **kwargs)
  1073.  
  1074.     
  1075.     def PushStatusText(*args, **kwargs):
  1076.         '''PushStatusText(self, String text, int number=0)'''
  1077.         return _windows_.StatusBar_PushStatusText(*args, **kwargs)
  1078.  
  1079.     
  1080.     def PopStatusText(*args, **kwargs):
  1081.         '''PopStatusText(self, int number=0)'''
  1082.         return _windows_.StatusBar_PopStatusText(*args, **kwargs)
  1083.  
  1084.     
  1085.     def SetStatusWidths(*args, **kwargs):
  1086.         '''SetStatusWidths(self, int widths)'''
  1087.         return _windows_.StatusBar_SetStatusWidths(*args, **kwargs)
  1088.  
  1089.     
  1090.     def SetStatusStyles(*args, **kwargs):
  1091.         '''SetStatusStyles(self, int styles)'''
  1092.         return _windows_.StatusBar_SetStatusStyles(*args, **kwargs)
  1093.  
  1094.     
  1095.     def GetFieldRect(*args, **kwargs):
  1096.         '''GetFieldRect(self, int i) -> Rect'''
  1097.         return _windows_.StatusBar_GetFieldRect(*args, **kwargs)
  1098.  
  1099.     
  1100.     def SetMinHeight(*args, **kwargs):
  1101.         '''SetMinHeight(self, int height)'''
  1102.         return _windows_.StatusBar_SetMinHeight(*args, **kwargs)
  1103.  
  1104.     
  1105.     def GetBorderX(*args, **kwargs):
  1106.         '''GetBorderX(self) -> int'''
  1107.         return _windows_.StatusBar_GetBorderX(*args, **kwargs)
  1108.  
  1109.     
  1110.     def GetBorderY(*args, **kwargs):
  1111.         '''GetBorderY(self) -> int'''
  1112.         return _windows_.StatusBar_GetBorderY(*args, **kwargs)
  1113.  
  1114.     
  1115.     def GetClassDefaultAttributes(*args, **kwargs):
  1116.         """
  1117.         GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
  1118.  
  1119.         Get the default attributes for this class.  This is useful if you want
  1120.         to use the same font or colour in your own control as in a standard
  1121.         control -- which is a much better idea than hard coding specific
  1122.         colours or fonts which might look completely out of place on the
  1123.         user's system, especially if it uses themes.
  1124.  
  1125.         The variant parameter is only relevant under Mac currently and is
  1126.         ignore under other platforms. Under Mac, it will change the size of
  1127.         the returned font. See `wx.Window.SetWindowVariant` for more about
  1128.         this.
  1129.         """
  1130.         return _windows_.StatusBar_GetClassDefaultAttributes(*args, **kwargs)
  1131.  
  1132.     GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
  1133.  
  1134.  
  1135. class StatusBarPtr(StatusBar):
  1136.     
  1137.     def __init__(self, this):
  1138.         self.this = this
  1139.         if not hasattr(self, 'thisown'):
  1140.             self.thisown = 0
  1141.         
  1142.         self.__class__ = StatusBar
  1143.  
  1144.  
  1145. _windows_.StatusBar_swigregister(StatusBarPtr)
  1146.  
  1147. def PreStatusBar(*args, **kwargs):
  1148.     '''PreStatusBar() -> StatusBar'''
  1149.     val = _windows_.new_PreStatusBar(*args, **kwargs)
  1150.     val.thisown = 1
  1151.     return val
  1152.  
  1153.  
  1154. def StatusBar_GetClassDefaultAttributes(*args, **kwargs):
  1155.     """
  1156.     StatusBar_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
  1157.  
  1158.     Get the default attributes for this class.  This is useful if you want
  1159.     to use the same font or colour in your own control as in a standard
  1160.     control -- which is a much better idea than hard coding specific
  1161.     colours or fonts which might look completely out of place on the
  1162.     user's system, especially if it uses themes.
  1163.  
  1164.     The variant parameter is only relevant under Mac currently and is
  1165.     ignore under other platforms. Under Mac, it will change the size of
  1166.     the returned font. See `wx.Window.SetWindowVariant` for more about
  1167.     this.
  1168.     """
  1169.     return _windows_.StatusBar_GetClassDefaultAttributes(*args, **kwargs)
  1170.  
  1171. SP_NOBORDER = _windows_.SP_NOBORDER
  1172. SP_NOSASH = _windows_.SP_NOSASH
  1173. SP_PERMIT_UNSPLIT = _windows_.SP_PERMIT_UNSPLIT
  1174. SP_LIVE_UPDATE = _windows_.SP_LIVE_UPDATE
  1175. SP_3DSASH = _windows_.SP_3DSASH
  1176. SP_3DBORDER = _windows_.SP_3DBORDER
  1177. SP_NO_XP_THEME = _windows_.SP_NO_XP_THEME
  1178. SP_BORDER = _windows_.SP_BORDER
  1179. SP_3D = _windows_.SP_3D
  1180. SPLIT_HORIZONTAL = _windows_.SPLIT_HORIZONTAL
  1181. SPLIT_VERTICAL = _windows_.SPLIT_VERTICAL
  1182. SPLIT_DRAG_NONE = _windows_.SPLIT_DRAG_NONE
  1183. SPLIT_DRAG_DRAGGING = _windows_.SPLIT_DRAG_DRAGGING
  1184. SPLIT_DRAG_LEFT_DOWN = _windows_.SPLIT_DRAG_LEFT_DOWN
  1185.  
  1186. class SplitterWindow(_core.Window):
  1187.     '''
  1188.     wx.SplitterWindow manages up to two subwindows or panes, with an
  1189.     optional vertical or horizontal split which can be used with the mouse
  1190.     or programmatically.
  1191.     '''
  1192.     
  1193.     def __repr__(self):
  1194.         return '<%s.%s; proxy of C++ wxSplitterWindow instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  1195.  
  1196.     
  1197.     def __init__(self, *args, **kwargs):
  1198.         '''
  1199.         __init__(self, Window parent, int id=-1, Point pos=DefaultPosition, 
  1200.             Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> SplitterWindow
  1201.  
  1202.         Constructor.  Creates and shows a SplitterWindow.
  1203.         '''
  1204.         if kwargs.has_key('point'):
  1205.             kwargs['pos'] = kwargs['point']
  1206.             del kwargs['point']
  1207.         
  1208.         newobj = _windows_.new_SplitterWindow(*args, **kwargs)
  1209.         self.this = newobj.this
  1210.         self.thisown = 1
  1211.         del newobj.thisown
  1212.         self._setOORInfo(self)
  1213.  
  1214.     
  1215.     def Create(*args, **kwargs):
  1216.         '''
  1217.         Create(self, Window parent, int id=-1, Point pos=DefaultPosition, 
  1218.             Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -> bool
  1219.  
  1220.         Create the GUI part of the SplitterWindow for the 2-phase create.
  1221.         '''
  1222.         return _windows_.SplitterWindow_Create(*args, **kwargs)
  1223.  
  1224.     
  1225.     def GetWindow1(*args, **kwargs):
  1226.         '''
  1227.         GetWindow1(self) -> Window
  1228.  
  1229.         Gets the only or left/top pane.
  1230.         '''
  1231.         return _windows_.SplitterWindow_GetWindow1(*args, **kwargs)
  1232.  
  1233.     
  1234.     def GetWindow2(*args, **kwargs):
  1235.         '''
  1236.         GetWindow2(self) -> Window
  1237.  
  1238.         Gets the right/bottom pane.
  1239.         '''
  1240.         return _windows_.SplitterWindow_GetWindow2(*args, **kwargs)
  1241.  
  1242.     
  1243.     def SetSplitMode(*args, **kwargs):
  1244.         '''
  1245.         SetSplitMode(self, int mode)
  1246.  
  1247.         Sets the split mode.  The mode can be wx.SPLIT_VERTICAL or
  1248.         wx.SPLIT_HORIZONTAL.  This only sets the internal variable; does not
  1249.         update the display.
  1250.         '''
  1251.         return _windows_.SplitterWindow_SetSplitMode(*args, **kwargs)
  1252.  
  1253.     
  1254.     def GetSplitMode(*args, **kwargs):
  1255.         '''
  1256.         GetSplitMode(self) -> int
  1257.  
  1258.         Gets the split mode
  1259.         '''
  1260.         return _windows_.SplitterWindow_GetSplitMode(*args, **kwargs)
  1261.  
  1262.     
  1263.     def Initialize(*args, **kwargs):
  1264.         '''
  1265.         Initialize(self, Window window)
  1266.  
  1267.         Initializes the splitter window to have one pane.  This should be
  1268.         called if you wish to initially view only a single pane in the
  1269.         splitter window.  The child window is shown if it is currently hidden.
  1270.         '''
  1271.         return _windows_.SplitterWindow_Initialize(*args, **kwargs)
  1272.  
  1273.     
  1274.     def SplitVertically(*args, **kwargs):
  1275.         '''
  1276.         SplitVertically(self, Window window1, Window window2, int sashPosition=0) -> bool
  1277.  
  1278.         Initializes the left and right panes of the splitter window.  The
  1279.         child windows are shown if they are currently hidden.
  1280.         '''
  1281.         return _windows_.SplitterWindow_SplitVertically(*args, **kwargs)
  1282.  
  1283.     
  1284.     def SplitHorizontally(*args, **kwargs):
  1285.         '''
  1286.         SplitHorizontally(self, Window window1, Window window2, int sashPosition=0) -> bool
  1287.  
  1288.         Initializes the top and bottom panes of the splitter window.  The
  1289.         child windows are shown if they are currently hidden.
  1290.         '''
  1291.         return _windows_.SplitterWindow_SplitHorizontally(*args, **kwargs)
  1292.  
  1293.     
  1294.     def Unsplit(*args, **kwargs):
  1295.         '''
  1296.         Unsplit(self, Window toRemove=None) -> bool
  1297.  
  1298.         Unsplits the window.  Pass the pane to remove, or None to remove the
  1299.         right or bottom pane.  Returns True if successful, False otherwise (the
  1300.         window was not split).
  1301.  
  1302.         This function will not actually delete the pane being
  1303.         removed; it sends EVT_SPLITTER_UNSPLIT which can be handled
  1304.         for the desired behaviour. By default, the pane being
  1305.         removed is only hidden.
  1306.         '''
  1307.         return _windows_.SplitterWindow_Unsplit(*args, **kwargs)
  1308.  
  1309.     
  1310.     def ReplaceWindow(*args, **kwargs):
  1311.         """
  1312.         ReplaceWindow(self, Window winOld, Window winNew) -> bool
  1313.  
  1314.         This function replaces one of the windows managed by the
  1315.         SplitterWindow with another one. It is in general better to use it
  1316.         instead of calling Unsplit() and then resplitting the window back
  1317.         because it will provoke much less flicker. It is valid to call this
  1318.         function whether the splitter has two windows or only one.
  1319.  
  1320.         Both parameters should be non-None and winOld must specify one of the
  1321.         windows managed by the splitter. If the parameters are incorrect or
  1322.         the window couldn't be replaced, False is returned. Otherwise the
  1323.         function will return True, but please notice that it will not Destroy
  1324.         the replaced window and you may wish to do it yourself.
  1325.         """
  1326.         return _windows_.SplitterWindow_ReplaceWindow(*args, **kwargs)
  1327.  
  1328.     
  1329.     def UpdateSize(*args, **kwargs):
  1330.         '''
  1331.         UpdateSize(self)
  1332.  
  1333.         Causes any pending sizing of the sash and child panes to take place
  1334.         immediately.
  1335.  
  1336.         Such resizing normally takes place in idle time, in order to wait for
  1337.         layout to be completed. However, this can cause unacceptable flicker
  1338.         as the panes are resized after the window has been shown. To work
  1339.         around this, you can perform window layout (for example by sending a
  1340.         size event to the parent window), and then call this function, before
  1341.         showing the top-level window.
  1342.         '''
  1343.         return _windows_.SplitterWindow_UpdateSize(*args, **kwargs)
  1344.  
  1345.     
  1346.     def IsSplit(*args, **kwargs):
  1347.         '''
  1348.         IsSplit(self) -> bool
  1349.  
  1350.         Is the window split?
  1351.         '''
  1352.         return _windows_.SplitterWindow_IsSplit(*args, **kwargs)
  1353.  
  1354.     
  1355.     def SetSashSize(*args, **kwargs):
  1356.         '''
  1357.         SetSashSize(self, int width)
  1358.  
  1359.         Sets the sash size.
  1360.         '''
  1361.         return _windows_.SplitterWindow_SetSashSize(*args, **kwargs)
  1362.  
  1363.     
  1364.     def SetBorderSize(*args, **kwargs):
  1365.         '''
  1366.         SetBorderSize(self, int width)
  1367.  
  1368.         Sets the border size. Currently a NOP.
  1369.         '''
  1370.         return _windows_.SplitterWindow_SetBorderSize(*args, **kwargs)
  1371.  
  1372.     
  1373.     def GetSashSize(*args, **kwargs):
  1374.         '''
  1375.         GetSashSize(self) -> int
  1376.  
  1377.         Gets the sash size
  1378.         '''
  1379.         return _windows_.SplitterWindow_GetSashSize(*args, **kwargs)
  1380.  
  1381.     
  1382.     def GetBorderSize(*args, **kwargs):
  1383.         '''
  1384.         GetBorderSize(self) -> int
  1385.  
  1386.         Gets the border size
  1387.         '''
  1388.         return _windows_.SplitterWindow_GetBorderSize(*args, **kwargs)
  1389.  
  1390.     
  1391.     def SetSashPosition(*args, **kwargs):
  1392.         '''
  1393.         SetSashPosition(self, int position, bool redraw=True)
  1394.  
  1395.         Sets the sash position, in pixels.  If redraw is Ttrue then the panes
  1396.         are resized and the sash and border are redrawn.
  1397.         '''
  1398.         return _windows_.SplitterWindow_SetSashPosition(*args, **kwargs)
  1399.  
  1400.     
  1401.     def GetSashPosition(*args, **kwargs):
  1402.         '''
  1403.         GetSashPosition(self) -> int
  1404.  
  1405.         Returns the surrent sash position.
  1406.         '''
  1407.         return _windows_.SplitterWindow_GetSashPosition(*args, **kwargs)
  1408.  
  1409.     
  1410.     def SetSashGravity(*args, **kwargs):
  1411.         '''
  1412.         SetSashGravity(self, double gravity)
  1413.  
  1414.         Set the sash gravity.  Gravity is a floating-point factor between 0.0
  1415.         and 1.0 which controls position of sash while resizing the
  1416.         `wx.SplitterWindow`.  The gravity specifies how much the left/top
  1417.         window will grow while resizing.
  1418.         '''
  1419.         return _windows_.SplitterWindow_SetSashGravity(*args, **kwargs)
  1420.  
  1421.     
  1422.     def GetSashGravity(*args, **kwargs):
  1423.         '''
  1424.         GetSashGravity(self) -> double
  1425.  
  1426.         Gets the sash gravity.
  1427.  
  1428.         :see: `SetSashGravity`
  1429.  
  1430.         '''
  1431.         return _windows_.SplitterWindow_GetSashGravity(*args, **kwargs)
  1432.  
  1433.     
  1434.     def SetMinimumPaneSize(*args, **kwargs):
  1435.         '''
  1436.         SetMinimumPaneSize(self, int min)
  1437.  
  1438.         Sets the minimum pane size in pixels.
  1439.  
  1440.         The default minimum pane size is zero, which means that either pane
  1441.         can be reduced to zero by dragging the sash, thus removing one of the
  1442.         panes. To prevent this behaviour (and veto out-of-range sash
  1443.         dragging), set a minimum size, for example 20 pixels. If the
  1444.         wx.SP_PERMIT_UNSPLIT style is used when a splitter window is created,
  1445.         the window may be unsplit even if minimum size is non-zero.
  1446.         '''
  1447.         return _windows_.SplitterWindow_SetMinimumPaneSize(*args, **kwargs)
  1448.  
  1449.     
  1450.     def GetMinimumPaneSize(*args, **kwargs):
  1451.         '''
  1452.         GetMinimumPaneSize(self) -> int
  1453.  
  1454.         Gets the minimum pane size in pixels.
  1455.         '''
  1456.         return _windows_.SplitterWindow_GetMinimumPaneSize(*args, **kwargs)
  1457.  
  1458.     
  1459.     def SashHitTest(*args, **kwargs):
  1460.         '''
  1461.         SashHitTest(self, int x, int y, int tolerance=5) -> bool
  1462.  
  1463.         Tests for x, y over the sash
  1464.         '''
  1465.         return _windows_.SplitterWindow_SashHitTest(*args, **kwargs)
  1466.  
  1467.     
  1468.     def SizeWindows(*args, **kwargs):
  1469.         '''
  1470.         SizeWindows(self)
  1471.  
  1472.         Resizes subwindows
  1473.         '''
  1474.         return _windows_.SplitterWindow_SizeWindows(*args, **kwargs)
  1475.  
  1476.     
  1477.     def SetNeedUpdating(*args, **kwargs):
  1478.         '''SetNeedUpdating(self, bool needUpdating)'''
  1479.         return _windows_.SplitterWindow_SetNeedUpdating(*args, **kwargs)
  1480.  
  1481.     
  1482.     def GetNeedUpdating(*args, **kwargs):
  1483.         '''GetNeedUpdating(self) -> bool'''
  1484.         return _windows_.SplitterWindow_GetNeedUpdating(*args, **kwargs)
  1485.  
  1486.     
  1487.     def GetClassDefaultAttributes(*args, **kwargs):
  1488.         """
  1489.         GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
  1490.  
  1491.         Get the default attributes for this class.  This is useful if you want
  1492.         to use the same font or colour in your own control as in a standard
  1493.         control -- which is a much better idea than hard coding specific
  1494.         colours or fonts which might look completely out of place on the
  1495.         user's system, especially if it uses themes.
  1496.  
  1497.         The variant parameter is only relevant under Mac currently and is
  1498.         ignore under other platforms. Under Mac, it will change the size of
  1499.         the returned font. See `wx.Window.SetWindowVariant` for more about
  1500.         this.
  1501.         """
  1502.         return _windows_.SplitterWindow_GetClassDefaultAttributes(*args, **kwargs)
  1503.  
  1504.     GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
  1505.  
  1506.  
  1507. class SplitterWindowPtr(SplitterWindow):
  1508.     
  1509.     def __init__(self, this):
  1510.         self.this = this
  1511.         if not hasattr(self, 'thisown'):
  1512.             self.thisown = 0
  1513.         
  1514.         self.__class__ = SplitterWindow
  1515.  
  1516.  
  1517. _windows_.SplitterWindow_swigregister(SplitterWindowPtr)
  1518. SplitterNameStr = cvar.SplitterNameStr
  1519.  
  1520. def PreSplitterWindow(*args, **kwargs):
  1521.     '''
  1522.     PreSplitterWindow() -> SplitterWindow
  1523.  
  1524.     Precreate a SplitterWindow for 2-phase creation.
  1525.     '''
  1526.     val = _windows_.new_PreSplitterWindow(*args, **kwargs)
  1527.     val.thisown = 1
  1528.     return val
  1529.  
  1530.  
  1531. def SplitterWindow_GetClassDefaultAttributes(*args, **kwargs):
  1532.     """
  1533.     SplitterWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
  1534.  
  1535.     Get the default attributes for this class.  This is useful if you want
  1536.     to use the same font or colour in your own control as in a standard
  1537.     control -- which is a much better idea than hard coding specific
  1538.     colours or fonts which might look completely out of place on the
  1539.     user's system, especially if it uses themes.
  1540.  
  1541.     The variant parameter is only relevant under Mac currently and is
  1542.     ignore under other platforms. Under Mac, it will change the size of
  1543.     the returned font. See `wx.Window.SetWindowVariant` for more about
  1544.     this.
  1545.     """
  1546.     return _windows_.SplitterWindow_GetClassDefaultAttributes(*args, **kwargs)
  1547.  
  1548.  
  1549. class SplitterEvent(_core.NotifyEvent):
  1550.     '''This class represents the events generated by a splitter control.'''
  1551.     
  1552.     def __repr__(self):
  1553.         return '<%s.%s; proxy of C++ wxSplitterEvent instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  1554.  
  1555.     
  1556.     def __init__(self, *args, **kwargs):
  1557.         '''
  1558.         __init__(self, wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -> SplitterEvent
  1559.  
  1560.         This class represents the events generated by a splitter control.
  1561.         '''
  1562.         newobj = _windows_.new_SplitterEvent(*args, **kwargs)
  1563.         self.this = newobj.this
  1564.         self.thisown = 1
  1565.         del newobj.thisown
  1566.  
  1567.     
  1568.     def SetSashPosition(*args, **kwargs):
  1569.         '''
  1570.         SetSashPosition(self, int pos)
  1571.  
  1572.         This function is only meaningful during EVT_SPLITTER_SASH_POS_CHANGING
  1573.         and EVT_SPLITTER_SASH_POS_CHANGED events.  In the case of _CHANGED
  1574.         events, sets the the new sash position. In the case of _CHANGING
  1575.         events, sets the new tracking bar position so visual feedback during
  1576.         dragging will represent that change that will actually take place. Set
  1577.         to -1 from the event handler code to prevent repositioning.
  1578.         '''
  1579.         return _windows_.SplitterEvent_SetSashPosition(*args, **kwargs)
  1580.  
  1581.     
  1582.     def GetSashPosition(*args, **kwargs):
  1583.         '''
  1584.         GetSashPosition(self) -> int
  1585.  
  1586.         Returns the new sash position while in EVT_SPLITTER_SASH_POS_CHANGING
  1587.         and EVT_SPLITTER_SASH_POS_CHANGED events.
  1588.         '''
  1589.         return _windows_.SplitterEvent_GetSashPosition(*args, **kwargs)
  1590.  
  1591.     
  1592.     def GetWindowBeingRemoved(*args, **kwargs):
  1593.         '''
  1594.         GetWindowBeingRemoved(self) -> Window
  1595.  
  1596.         Returns a pointer to the window being removed when a splitter window
  1597.         is unsplit.
  1598.         '''
  1599.         return _windows_.SplitterEvent_GetWindowBeingRemoved(*args, **kwargs)
  1600.  
  1601.     
  1602.     def GetX(*args, **kwargs):
  1603.         '''
  1604.         GetX(self) -> int
  1605.  
  1606.         Returns the x coordinate of the double-click point in a
  1607.         EVT_SPLITTER_DCLICK event.
  1608.         '''
  1609.         return _windows_.SplitterEvent_GetX(*args, **kwargs)
  1610.  
  1611.     
  1612.     def GetY(*args, **kwargs):
  1613.         '''
  1614.         GetY(self) -> int
  1615.  
  1616.         Returns the y coordinate of the double-click point in a
  1617.         EVT_SPLITTER_DCLICK event.
  1618.         '''
  1619.         return _windows_.SplitterEvent_GetY(*args, **kwargs)
  1620.  
  1621.  
  1622.  
  1623. class SplitterEventPtr(SplitterEvent):
  1624.     
  1625.     def __init__(self, this):
  1626.         self.this = this
  1627.         if not hasattr(self, 'thisown'):
  1628.             self.thisown = 0
  1629.         
  1630.         self.__class__ = SplitterEvent
  1631.  
  1632.  
  1633. _windows_.SplitterEvent_swigregister(SplitterEventPtr)
  1634. wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED = _windows_.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
  1635. wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING = _windows_.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
  1636. wxEVT_COMMAND_SPLITTER_DOUBLECLICKED = _windows_.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
  1637. wxEVT_COMMAND_SPLITTER_UNSPLIT = _windows_.wxEVT_COMMAND_SPLITTER_UNSPLIT
  1638. EVT_SPLITTER_SASH_POS_CHANGED = wx.PyEventBinder(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 1)
  1639. EVT_SPLITTER_SASH_POS_CHANGING = wx.PyEventBinder(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 1)
  1640. EVT_SPLITTER_DOUBLECLICKED = wx.PyEventBinder(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 1)
  1641. EVT_SPLITTER_UNSPLIT = wx.PyEventBinder(wxEVT_COMMAND_SPLITTER_UNSPLIT, 1)
  1642. EVT_SPLITTER_DCLICK = EVT_SPLITTER_DOUBLECLICKED
  1643. SASH_DRAG_NONE = _windows_.SASH_DRAG_NONE
  1644. SASH_DRAG_DRAGGING = _windows_.SASH_DRAG_DRAGGING
  1645. SASH_DRAG_LEFT_DOWN = _windows_.SASH_DRAG_LEFT_DOWN
  1646. SW_NOBORDER = _windows_.SW_NOBORDER
  1647. SW_BORDER = _windows_.SW_BORDER
  1648. SW_3DSASH = _windows_.SW_3DSASH
  1649. SW_3DBORDER = _windows_.SW_3DBORDER
  1650. SW_3D = _windows_.SW_3D
  1651. SASH_TOP = _windows_.SASH_TOP
  1652. SASH_RIGHT = _windows_.SASH_RIGHT
  1653. SASH_BOTTOM = _windows_.SASH_BOTTOM
  1654. SASH_LEFT = _windows_.SASH_LEFT
  1655. SASH_NONE = _windows_.SASH_NONE
  1656.  
  1657. class SashWindow(_core.Window):
  1658.     '''Proxy of C++ SashWindow class'''
  1659.     
  1660.     def __repr__(self):
  1661.         return '<%s.%s; proxy of C++ wxSashWindow instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  1662.  
  1663.     
  1664.     def __init__(self, *args, **kwargs):
  1665.         '''
  1666.         __init__(self, Window parent, int id=-1, Point pos=DefaultPosition, 
  1667.             Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D, 
  1668.             String name=SashNameStr) -> SashWindow
  1669.         '''
  1670.         newobj = _windows_.new_SashWindow(*args, **kwargs)
  1671.         self.this = newobj.this
  1672.         self.thisown = 1
  1673.         del newobj.thisown
  1674.         self._setOORInfo(self)
  1675.  
  1676.     
  1677.     def Create(*args, **kwargs):
  1678.         '''
  1679.         Create(self, Window parent, int id=-1, Point pos=DefaultPosition, 
  1680.             Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D, 
  1681.             String name=SashNameStr) -> bool
  1682.         '''
  1683.         return _windows_.SashWindow_Create(*args, **kwargs)
  1684.  
  1685.     
  1686.     def SetSashVisible(*args, **kwargs):
  1687.         '''SetSashVisible(self, int edge, bool sash)'''
  1688.         return _windows_.SashWindow_SetSashVisible(*args, **kwargs)
  1689.  
  1690.     
  1691.     def GetSashVisible(*args, **kwargs):
  1692.         '''GetSashVisible(self, int edge) -> bool'''
  1693.         return _windows_.SashWindow_GetSashVisible(*args, **kwargs)
  1694.  
  1695.     
  1696.     def SetSashBorder(*args, **kwargs):
  1697.         '''SetSashBorder(self, int edge, bool border)'''
  1698.         return _windows_.SashWindow_SetSashBorder(*args, **kwargs)
  1699.  
  1700.     
  1701.     def HasBorder(*args, **kwargs):
  1702.         '''HasBorder(self, int edge) -> bool'''
  1703.         return _windows_.SashWindow_HasBorder(*args, **kwargs)
  1704.  
  1705.     
  1706.     def GetEdgeMargin(*args, **kwargs):
  1707.         '''GetEdgeMargin(self, int edge) -> int'''
  1708.         return _windows_.SashWindow_GetEdgeMargin(*args, **kwargs)
  1709.  
  1710.     
  1711.     def SetDefaultBorderSize(*args, **kwargs):
  1712.         '''SetDefaultBorderSize(self, int width)'''
  1713.         return _windows_.SashWindow_SetDefaultBorderSize(*args, **kwargs)
  1714.  
  1715.     
  1716.     def GetDefaultBorderSize(*args, **kwargs):
  1717.         '''GetDefaultBorderSize(self) -> int'''
  1718.         return _windows_.SashWindow_GetDefaultBorderSize(*args, **kwargs)
  1719.  
  1720.     
  1721.     def SetExtraBorderSize(*args, **kwargs):
  1722.         '''SetExtraBorderSize(self, int width)'''
  1723.         return _windows_.SashWindow_SetExtraBorderSize(*args, **kwargs)
  1724.  
  1725.     
  1726.     def GetExtraBorderSize(*args, **kwargs):
  1727.         '''GetExtraBorderSize(self) -> int'''
  1728.         return _windows_.SashWindow_GetExtraBorderSize(*args, **kwargs)
  1729.  
  1730.     
  1731.     def SetMinimumSizeX(*args, **kwargs):
  1732.         '''SetMinimumSizeX(self, int min)'''
  1733.         return _windows_.SashWindow_SetMinimumSizeX(*args, **kwargs)
  1734.  
  1735.     
  1736.     def SetMinimumSizeY(*args, **kwargs):
  1737.         '''SetMinimumSizeY(self, int min)'''
  1738.         return _windows_.SashWindow_SetMinimumSizeY(*args, **kwargs)
  1739.  
  1740.     
  1741.     def GetMinimumSizeX(*args, **kwargs):
  1742.         '''GetMinimumSizeX(self) -> int'''
  1743.         return _windows_.SashWindow_GetMinimumSizeX(*args, **kwargs)
  1744.  
  1745.     
  1746.     def GetMinimumSizeY(*args, **kwargs):
  1747.         '''GetMinimumSizeY(self) -> int'''
  1748.         return _windows_.SashWindow_GetMinimumSizeY(*args, **kwargs)
  1749.  
  1750.     
  1751.     def SetMaximumSizeX(*args, **kwargs):
  1752.         '''SetMaximumSizeX(self, int max)'''
  1753.         return _windows_.SashWindow_SetMaximumSizeX(*args, **kwargs)
  1754.  
  1755.     
  1756.     def SetMaximumSizeY(*args, **kwargs):
  1757.         '''SetMaximumSizeY(self, int max)'''
  1758.         return _windows_.SashWindow_SetMaximumSizeY(*args, **kwargs)
  1759.  
  1760.     
  1761.     def GetMaximumSizeX(*args, **kwargs):
  1762.         '''GetMaximumSizeX(self) -> int'''
  1763.         return _windows_.SashWindow_GetMaximumSizeX(*args, **kwargs)
  1764.  
  1765.     
  1766.     def GetMaximumSizeY(*args, **kwargs):
  1767.         '''GetMaximumSizeY(self) -> int'''
  1768.         return _windows_.SashWindow_GetMaximumSizeY(*args, **kwargs)
  1769.  
  1770.     
  1771.     def SashHitTest(*args, **kwargs):
  1772.         '''SashHitTest(self, int x, int y, int tolerance=2) -> int'''
  1773.         return _windows_.SashWindow_SashHitTest(*args, **kwargs)
  1774.  
  1775.     
  1776.     def SizeWindows(*args, **kwargs):
  1777.         '''SizeWindows(self)'''
  1778.         return _windows_.SashWindow_SizeWindows(*args, **kwargs)
  1779.  
  1780.  
  1781.  
  1782. class SashWindowPtr(SashWindow):
  1783.     
  1784.     def __init__(self, this):
  1785.         self.this = this
  1786.         if not hasattr(self, 'thisown'):
  1787.             self.thisown = 0
  1788.         
  1789.         self.__class__ = SashWindow
  1790.  
  1791.  
  1792. _windows_.SashWindow_swigregister(SashWindowPtr)
  1793. SashNameStr = cvar.SashNameStr
  1794. SashLayoutNameStr = cvar.SashLayoutNameStr
  1795.  
  1796. def PreSashWindow(*args, **kwargs):
  1797.     '''PreSashWindow() -> SashWindow'''
  1798.     val = _windows_.new_PreSashWindow(*args, **kwargs)
  1799.     val.thisown = 1
  1800.     return val
  1801.  
  1802. SASH_STATUS_OK = _windows_.SASH_STATUS_OK
  1803. SASH_STATUS_OUT_OF_RANGE = _windows_.SASH_STATUS_OUT_OF_RANGE
  1804.  
  1805. class SashEvent(_core.CommandEvent):
  1806.     '''Proxy of C++ SashEvent class'''
  1807.     
  1808.     def __repr__(self):
  1809.         return '<%s.%s; proxy of C++ wxSashEvent instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  1810.  
  1811.     
  1812.     def __init__(self, *args, **kwargs):
  1813.         '''__init__(self, int id=0, int edge=SASH_NONE) -> SashEvent'''
  1814.         newobj = _windows_.new_SashEvent(*args, **kwargs)
  1815.         self.this = newobj.this
  1816.         self.thisown = 1
  1817.         del newobj.thisown
  1818.  
  1819.     
  1820.     def SetEdge(*args, **kwargs):
  1821.         '''SetEdge(self, int edge)'''
  1822.         return _windows_.SashEvent_SetEdge(*args, **kwargs)
  1823.  
  1824.     
  1825.     def GetEdge(*args, **kwargs):
  1826.         '''GetEdge(self) -> int'''
  1827.         return _windows_.SashEvent_GetEdge(*args, **kwargs)
  1828.  
  1829.     
  1830.     def SetDragRect(*args, **kwargs):
  1831.         '''SetDragRect(self, Rect rect)'''
  1832.         return _windows_.SashEvent_SetDragRect(*args, **kwargs)
  1833.  
  1834.     
  1835.     def GetDragRect(*args, **kwargs):
  1836.         '''GetDragRect(self) -> Rect'''
  1837.         return _windows_.SashEvent_GetDragRect(*args, **kwargs)
  1838.  
  1839.     
  1840.     def SetDragStatus(*args, **kwargs):
  1841.         '''SetDragStatus(self, int status)'''
  1842.         return _windows_.SashEvent_SetDragStatus(*args, **kwargs)
  1843.  
  1844.     
  1845.     def GetDragStatus(*args, **kwargs):
  1846.         '''GetDragStatus(self) -> int'''
  1847.         return _windows_.SashEvent_GetDragStatus(*args, **kwargs)
  1848.  
  1849.  
  1850.  
  1851. class SashEventPtr(SashEvent):
  1852.     
  1853.     def __init__(self, this):
  1854.         self.this = this
  1855.         if not hasattr(self, 'thisown'):
  1856.             self.thisown = 0
  1857.         
  1858.         self.__class__ = SashEvent
  1859.  
  1860.  
  1861. _windows_.SashEvent_swigregister(SashEventPtr)
  1862. wxEVT_SASH_DRAGGED = _windows_.wxEVT_SASH_DRAGGED
  1863. EVT_SASH_DRAGGED = wx.PyEventBinder(wxEVT_SASH_DRAGGED, 1)
  1864. EVT_SASH_DRAGGED_RANGE = wx.PyEventBinder(wxEVT_SASH_DRAGGED, 2)
  1865. LAYOUT_HORIZONTAL = _windows_.LAYOUT_HORIZONTAL
  1866. LAYOUT_VERTICAL = _windows_.LAYOUT_VERTICAL
  1867. LAYOUT_NONE = _windows_.LAYOUT_NONE
  1868. LAYOUT_TOP = _windows_.LAYOUT_TOP
  1869. LAYOUT_LEFT = _windows_.LAYOUT_LEFT
  1870. LAYOUT_RIGHT = _windows_.LAYOUT_RIGHT
  1871. LAYOUT_BOTTOM = _windows_.LAYOUT_BOTTOM
  1872. LAYOUT_LENGTH_Y = _windows_.LAYOUT_LENGTH_Y
  1873. LAYOUT_LENGTH_X = _windows_.LAYOUT_LENGTH_X
  1874. LAYOUT_MRU_LENGTH = _windows_.LAYOUT_MRU_LENGTH
  1875. LAYOUT_QUERY = _windows_.LAYOUT_QUERY
  1876. wxEVT_QUERY_LAYOUT_INFO = _windows_.wxEVT_QUERY_LAYOUT_INFO
  1877. wxEVT_CALCULATE_LAYOUT = _windows_.wxEVT_CALCULATE_LAYOUT
  1878.  
  1879. class QueryLayoutInfoEvent(_core.Event):
  1880.     '''Proxy of C++ QueryLayoutInfoEvent class'''
  1881.     
  1882.     def __repr__(self):
  1883.         return '<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  1884.  
  1885.     
  1886.     def __init__(self, *args, **kwargs):
  1887.         '''__init__(self, int id=0) -> QueryLayoutInfoEvent'''
  1888.         newobj = _windows_.new_QueryLayoutInfoEvent(*args, **kwargs)
  1889.         self.this = newobj.this
  1890.         self.thisown = 1
  1891.         del newobj.thisown
  1892.  
  1893.     
  1894.     def SetRequestedLength(*args, **kwargs):
  1895.         '''SetRequestedLength(self, int length)'''
  1896.         return _windows_.QueryLayoutInfoEvent_SetRequestedLength(*args, **kwargs)
  1897.  
  1898.     
  1899.     def GetRequestedLength(*args, **kwargs):
  1900.         '''GetRequestedLength(self) -> int'''
  1901.         return _windows_.QueryLayoutInfoEvent_GetRequestedLength(*args, **kwargs)
  1902.  
  1903.     
  1904.     def SetFlags(*args, **kwargs):
  1905.         '''SetFlags(self, int flags)'''
  1906.         return _windows_.QueryLayoutInfoEvent_SetFlags(*args, **kwargs)
  1907.  
  1908.     
  1909.     def GetFlags(*args, **kwargs):
  1910.         '''GetFlags(self) -> int'''
  1911.         return _windows_.QueryLayoutInfoEvent_GetFlags(*args, **kwargs)
  1912.  
  1913.     
  1914.     def SetSize(*args, **kwargs):
  1915.         '''SetSize(self, Size size)'''
  1916.         return _windows_.QueryLayoutInfoEvent_SetSize(*args, **kwargs)
  1917.  
  1918.     
  1919.     def GetSize(*args, **kwargs):
  1920.         '''GetSize(self) -> Size'''
  1921.         return _windows_.QueryLayoutInfoEvent_GetSize(*args, **kwargs)
  1922.  
  1923.     
  1924.     def SetOrientation(*args, **kwargs):
  1925.         '''SetOrientation(self, int orient)'''
  1926.         return _windows_.QueryLayoutInfoEvent_SetOrientation(*args, **kwargs)
  1927.  
  1928.     
  1929.     def GetOrientation(*args, **kwargs):
  1930.         '''GetOrientation(self) -> int'''
  1931.         return _windows_.QueryLayoutInfoEvent_GetOrientation(*args, **kwargs)
  1932.  
  1933.     
  1934.     def SetAlignment(*args, **kwargs):
  1935.         '''SetAlignment(self, int align)'''
  1936.         return _windows_.QueryLayoutInfoEvent_SetAlignment(*args, **kwargs)
  1937.  
  1938.     
  1939.     def GetAlignment(*args, **kwargs):
  1940.         '''GetAlignment(self) -> int'''
  1941.         return _windows_.QueryLayoutInfoEvent_GetAlignment(*args, **kwargs)
  1942.  
  1943.  
  1944.  
  1945. class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent):
  1946.     
  1947.     def __init__(self, this):
  1948.         self.this = this
  1949.         if not hasattr(self, 'thisown'):
  1950.             self.thisown = 0
  1951.         
  1952.         self.__class__ = QueryLayoutInfoEvent
  1953.  
  1954.  
  1955. _windows_.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr)
  1956.  
  1957. class CalculateLayoutEvent(_core.Event):
  1958.     '''Proxy of C++ CalculateLayoutEvent class'''
  1959.     
  1960.     def __repr__(self):
  1961.         return '<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  1962.  
  1963.     
  1964.     def __init__(self, *args, **kwargs):
  1965.         '''__init__(self, int id=0) -> CalculateLayoutEvent'''
  1966.         newobj = _windows_.new_CalculateLayoutEvent(*args, **kwargs)
  1967.         self.this = newobj.this
  1968.         self.thisown = 1
  1969.         del newobj.thisown
  1970.  
  1971.     
  1972.     def SetFlags(*args, **kwargs):
  1973.         '''SetFlags(self, int flags)'''
  1974.         return _windows_.CalculateLayoutEvent_SetFlags(*args, **kwargs)
  1975.  
  1976.     
  1977.     def GetFlags(*args, **kwargs):
  1978.         '''GetFlags(self) -> int'''
  1979.         return _windows_.CalculateLayoutEvent_GetFlags(*args, **kwargs)
  1980.  
  1981.     
  1982.     def SetRect(*args, **kwargs):
  1983.         '''SetRect(self, Rect rect)'''
  1984.         return _windows_.CalculateLayoutEvent_SetRect(*args, **kwargs)
  1985.  
  1986.     
  1987.     def GetRect(*args, **kwargs):
  1988.         '''GetRect(self) -> Rect'''
  1989.         return _windows_.CalculateLayoutEvent_GetRect(*args, **kwargs)
  1990.  
  1991.  
  1992.  
  1993. class CalculateLayoutEventPtr(CalculateLayoutEvent):
  1994.     
  1995.     def __init__(self, this):
  1996.         self.this = this
  1997.         if not hasattr(self, 'thisown'):
  1998.             self.thisown = 0
  1999.         
  2000.         self.__class__ = CalculateLayoutEvent
  2001.  
  2002.  
  2003. _windows_.CalculateLayoutEvent_swigregister(CalculateLayoutEventPtr)
  2004. EVT_QUERY_LAYOUT_INFO = wx.PyEventBinder(wxEVT_QUERY_LAYOUT_INFO)
  2005. EVT_CALCULATE_LAYOUT = wx.PyEventBinder(wxEVT_CALCULATE_LAYOUT)
  2006.  
  2007. class SashLayoutWindow(SashWindow):
  2008.     '''Proxy of C++ SashLayoutWindow class'''
  2009.     
  2010.     def __repr__(self):
  2011.         return '<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  2012.  
  2013.     
  2014.     def __init__(self, *args, **kwargs):
  2015.         '''
  2016.         __init__(self, Window parent, int id=-1, Point pos=DefaultPosition, 
  2017.             Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D, 
  2018.             String name=SashLayoutNameStr) -> SashLayoutWindow
  2019.         '''
  2020.         newobj = _windows_.new_SashLayoutWindow(*args, **kwargs)
  2021.         self.this = newobj.this
  2022.         self.thisown = 1
  2023.         del newobj.thisown
  2024.         self._setOORInfo(self)
  2025.  
  2026.     
  2027.     def Create(*args, **kwargs):
  2028.         '''
  2029.         Create(self, Window parent, int id=-1, Point pos=DefaultPosition, 
  2030.             Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D, 
  2031.             String name=SashLayoutNameStr) -> bool
  2032.         '''
  2033.         return _windows_.SashLayoutWindow_Create(*args, **kwargs)
  2034.  
  2035.     
  2036.     def GetAlignment(*args, **kwargs):
  2037.         '''GetAlignment(self) -> int'''
  2038.         return _windows_.SashLayoutWindow_GetAlignment(*args, **kwargs)
  2039.  
  2040.     
  2041.     def GetOrientation(*args, **kwargs):
  2042.         '''GetOrientation(self) -> int'''
  2043.         return _windows_.SashLayoutWindow_GetOrientation(*args, **kwargs)
  2044.  
  2045.     
  2046.     def SetAlignment(*args, **kwargs):
  2047.         '''SetAlignment(self, int alignment)'''
  2048.         return _windows_.SashLayoutWindow_SetAlignment(*args, **kwargs)
  2049.  
  2050.     
  2051.     def SetDefaultSize(*args, **kwargs):
  2052.         '''SetDefaultSize(self, Size size)'''
  2053.         return _windows_.SashLayoutWindow_SetDefaultSize(*args, **kwargs)
  2054.  
  2055.     
  2056.     def SetOrientation(*args, **kwargs):
  2057.         '''SetOrientation(self, int orientation)'''
  2058.         return _windows_.SashLayoutWindow_SetOrientation(*args, **kwargs)
  2059.  
  2060.  
  2061.  
  2062. class SashLayoutWindowPtr(SashLayoutWindow):
  2063.     
  2064.     def __init__(self, this):
  2065.         self.this = this
  2066.         if not hasattr(self, 'thisown'):
  2067.             self.thisown = 0
  2068.         
  2069.         self.__class__ = SashLayoutWindow
  2070.  
  2071.  
  2072. _windows_.SashLayoutWindow_swigregister(SashLayoutWindowPtr)
  2073.  
  2074. def PreSashLayoutWindow(*args, **kwargs):
  2075.     '''PreSashLayoutWindow() -> SashLayoutWindow'''
  2076.     val = _windows_.new_PreSashLayoutWindow(*args, **kwargs)
  2077.     val.thisown = 1
  2078.     return val
  2079.  
  2080.  
  2081. class LayoutAlgorithm(_core.Object):
  2082.     '''Proxy of C++ LayoutAlgorithm class'''
  2083.     
  2084.     def __repr__(self):
  2085.         return '<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  2086.  
  2087.     
  2088.     def __init__(self, *args, **kwargs):
  2089.         '''__init__(self) -> LayoutAlgorithm'''
  2090.         newobj = _windows_.new_LayoutAlgorithm(*args, **kwargs)
  2091.         self.this = newobj.this
  2092.         self.thisown = 1
  2093.         del newobj.thisown
  2094.  
  2095.     
  2096.     def __del__(self, destroy = _windows_.delete_LayoutAlgorithm):
  2097.         '''__del__(self)'''
  2098.         
  2099.         try:
  2100.             if self.thisown:
  2101.                 destroy(self)
  2102.         except:
  2103.             pass
  2104.  
  2105.  
  2106.     
  2107.     def LayoutMDIFrame(*args, **kwargs):
  2108.         '''LayoutMDIFrame(self, MDIParentFrame frame, Rect rect=None) -> bool'''
  2109.         return _windows_.LayoutAlgorithm_LayoutMDIFrame(*args, **kwargs)
  2110.  
  2111.     
  2112.     def LayoutFrame(*args, **kwargs):
  2113.         '''LayoutFrame(self, Frame frame, Window mainWindow=None) -> bool'''
  2114.         return _windows_.LayoutAlgorithm_LayoutFrame(*args, **kwargs)
  2115.  
  2116.     
  2117.     def LayoutWindow(*args, **kwargs):
  2118.         '''LayoutWindow(self, Window parent, Window mainWindow=None) -> bool'''
  2119.         return _windows_.LayoutAlgorithm_LayoutWindow(*args, **kwargs)
  2120.  
  2121.  
  2122.  
  2123. class LayoutAlgorithmPtr(LayoutAlgorithm):
  2124.     
  2125.     def __init__(self, this):
  2126.         self.this = this
  2127.         if not hasattr(self, 'thisown'):
  2128.             self.thisown = 0
  2129.         
  2130.         self.__class__ = LayoutAlgorithm
  2131.  
  2132.  
  2133. _windows_.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr)
  2134.  
  2135. class PopupWindow(_core.Window):
  2136.     '''Proxy of C++ PopupWindow class'''
  2137.     
  2138.     def __repr__(self):
  2139.         return '<%s.%s; proxy of C++ wxPopupWindow instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  2140.  
  2141.     
  2142.     def __init__(self, *args, **kwargs):
  2143.         '''__init__(self, Window parent, int flags=BORDER_NONE) -> PopupWindow'''
  2144.         newobj = _windows_.new_PopupWindow(*args, **kwargs)
  2145.         self.this = newobj.this
  2146.         self.thisown = 1
  2147.         del newobj.thisown
  2148.         self._setOORInfo(self)
  2149.  
  2150.     
  2151.     def Create(*args, **kwargs):
  2152.         '''Create(self, Window parent, int flags=BORDER_NONE) -> bool'''
  2153.         return _windows_.PopupWindow_Create(*args, **kwargs)
  2154.  
  2155.     
  2156.     def Position(*args, **kwargs):
  2157.         '''Position(self, Point ptOrigin, Size size)'''
  2158.         return _windows_.PopupWindow_Position(*args, **kwargs)
  2159.  
  2160.  
  2161.  
  2162. class PopupWindowPtr(PopupWindow):
  2163.     
  2164.     def __init__(self, this):
  2165.         self.this = this
  2166.         if not hasattr(self, 'thisown'):
  2167.             self.thisown = 0
  2168.         
  2169.         self.__class__ = PopupWindow
  2170.  
  2171.  
  2172. _windows_.PopupWindow_swigregister(PopupWindowPtr)
  2173.  
  2174. def PrePopupWindow(*args, **kwargs):
  2175.     '''PrePopupWindow() -> PopupWindow'''
  2176.     val = _windows_.new_PrePopupWindow(*args, **kwargs)
  2177.     val.thisown = 1
  2178.     return val
  2179.  
  2180.  
  2181. class PopupTransientWindow(PopupWindow):
  2182.     '''Proxy of C++ PopupTransientWindow class'''
  2183.     
  2184.     def __repr__(self):
  2185.         return '<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  2186.  
  2187.     
  2188.     def __init__(self, *args, **kwargs):
  2189.         '''__init__(self, Window parent, int style=BORDER_NONE) -> PopupTransientWindow'''
  2190.         newobj = _windows_.new_PopupTransientWindow(*args, **kwargs)
  2191.         self.this = newobj.this
  2192.         self.thisown = 1
  2193.         del newobj.thisown
  2194.         self._setOORInfo(self)
  2195.         self._setCallbackInfo(self, PopupTransientWindow)
  2196.  
  2197.     
  2198.     def _setCallbackInfo(*args, **kwargs):
  2199.         '''_setCallbackInfo(self, PyObject self, PyObject _class)'''
  2200.         return _windows_.PopupTransientWindow__setCallbackInfo(*args, **kwargs)
  2201.  
  2202.     
  2203.     def Popup(*args, **kwargs):
  2204.         '''Popup(self, Window focus=None)'''
  2205.         return _windows_.PopupTransientWindow_Popup(*args, **kwargs)
  2206.  
  2207.     
  2208.     def Dismiss(*args, **kwargs):
  2209.         '''Dismiss(self)'''
  2210.         return _windows_.PopupTransientWindow_Dismiss(*args, **kwargs)
  2211.  
  2212.  
  2213.  
  2214. class PopupTransientWindowPtr(PopupTransientWindow):
  2215.     
  2216.     def __init__(self, this):
  2217.         self.this = this
  2218.         if not hasattr(self, 'thisown'):
  2219.             self.thisown = 0
  2220.         
  2221.         self.__class__ = PopupTransientWindow
  2222.  
  2223.  
  2224. _windows_.PopupTransientWindow_swigregister(PopupTransientWindowPtr)
  2225.  
  2226. def PrePopupTransientWindow(*args, **kwargs):
  2227.     '''PrePopupTransientWindow() -> PopupTransientWindow'''
  2228.     val = _windows_.new_PrePopupTransientWindow(*args, **kwargs)
  2229.     val.thisown = 1
  2230.     return val
  2231.  
  2232.  
  2233. class TipWindow(PopupTransientWindow):
  2234.     '''Proxy of C++ TipWindow class'''
  2235.     
  2236.     def __repr__(self):
  2237.         return '<%s.%s; proxy of C++ wxTipWindow instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  2238.  
  2239.     
  2240.     def __init__(self, *args, **kwargs):
  2241.         '''__init__(self, Window parent, String text, int maxLength=100, Rect rectBound=None) -> TipWindow'''
  2242.         newobj = _windows_.new_TipWindow(*args, **kwargs)
  2243.         self.this = newobj.this
  2244.         self.thisown = 1
  2245.         del newobj.thisown
  2246.         self._setOORInfo(self)
  2247.  
  2248.     
  2249.     def SetBoundingRect(*args, **kwargs):
  2250.         '''SetBoundingRect(self, Rect rectBound)'''
  2251.         return _windows_.TipWindow_SetBoundingRect(*args, **kwargs)
  2252.  
  2253.     
  2254.     def Close(*args, **kwargs):
  2255.         """
  2256.         Close(self)
  2257.  
  2258.         This function simply generates a EVT_CLOSE event whose handler usually
  2259.         tries to close the window. It doesn't close the window itself,
  2260.         however.  If force is False (the default) then the window's close
  2261.         handler will be allowed to veto the destruction of the window.
  2262.         """
  2263.         return _windows_.TipWindow_Close(*args, **kwargs)
  2264.  
  2265.  
  2266.  
  2267. class TipWindowPtr(TipWindow):
  2268.     
  2269.     def __init__(self, this):
  2270.         self.this = this
  2271.         if not hasattr(self, 'thisown'):
  2272.             self.thisown = 0
  2273.         
  2274.         self.__class__ = TipWindow
  2275.  
  2276.  
  2277. _windows_.TipWindow_swigregister(TipWindowPtr)
  2278.  
  2279. class VScrolledWindow(Panel):
  2280.     '''Proxy of C++ VScrolledWindow class'''
  2281.     
  2282.     def __repr__(self):
  2283.         return '<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  2284.  
  2285.     
  2286.     def __init__(self, *args, **kwargs):
  2287.         '''
  2288.         __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, 
  2289.             Size size=DefaultSize, long style=0, String name=PanelNameStr) -> VScrolledWindow
  2290.         '''
  2291.         newobj = _windows_.new_VScrolledWindow(*args, **kwargs)
  2292.         self.this = newobj.this
  2293.         self.thisown = 1
  2294.         del newobj.thisown
  2295.         self._setOORInfo(self)
  2296.         self._setCallbackInfo(self, VScrolledWindow)
  2297.  
  2298.     
  2299.     def _setCallbackInfo(*args, **kwargs):
  2300.         '''_setCallbackInfo(self, PyObject self, PyObject _class)'''
  2301.         return _windows_.VScrolledWindow__setCallbackInfo(*args, **kwargs)
  2302.  
  2303.     
  2304.     def Create(*args, **kwargs):
  2305.         '''
  2306.         Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, 
  2307.             Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool
  2308.         '''
  2309.         return _windows_.VScrolledWindow_Create(*args, **kwargs)
  2310.  
  2311.     
  2312.     def SetLineCount(*args, **kwargs):
  2313.         '''SetLineCount(self, size_t count)'''
  2314.         return _windows_.VScrolledWindow_SetLineCount(*args, **kwargs)
  2315.  
  2316.     
  2317.     def ScrollToLine(*args, **kwargs):
  2318.         '''ScrollToLine(self, size_t line) -> bool'''
  2319.         return _windows_.VScrolledWindow_ScrollToLine(*args, **kwargs)
  2320.  
  2321.     
  2322.     def ScrollLines(*args, **kwargs):
  2323.         '''
  2324.         ScrollLines(self, int lines) -> bool
  2325.  
  2326.         If the platform and window class supports it, scrolls the window by
  2327.         the given number of lines down, if lines is positive, or up if lines
  2328.         is negative.  Returns True if the window was scrolled, False if it was
  2329.         already on top/bottom and nothing was done.
  2330.         '''
  2331.         return _windows_.VScrolledWindow_ScrollLines(*args, **kwargs)
  2332.  
  2333.     
  2334.     def ScrollPages(*args, **kwargs):
  2335.         '''
  2336.         ScrollPages(self, int pages) -> bool
  2337.  
  2338.         If the platform and window class supports it, scrolls the window by
  2339.         the given number of pages down, if pages is positive, or up if pages
  2340.         is negative.  Returns True if the window was scrolled, False if it was
  2341.         already on top/bottom and nothing was done.
  2342.         '''
  2343.         return _windows_.VScrolledWindow_ScrollPages(*args, **kwargs)
  2344.  
  2345.     
  2346.     def RefreshLine(*args, **kwargs):
  2347.         '''RefreshLine(self, size_t line)'''
  2348.         return _windows_.VScrolledWindow_RefreshLine(*args, **kwargs)
  2349.  
  2350.     
  2351.     def RefreshLines(*args, **kwargs):
  2352.         '''RefreshLines(self, size_t from, size_t to)'''
  2353.         return _windows_.VScrolledWindow_RefreshLines(*args, **kwargs)
  2354.  
  2355.     
  2356.     def HitTestXY(*args, **kwargs):
  2357.         '''
  2358.         HitTestXY(self, int x, int y) -> int
  2359.  
  2360.         Test where the given (in client coords) point lies
  2361.         '''
  2362.         return _windows_.VScrolledWindow_HitTestXY(*args, **kwargs)
  2363.  
  2364.     
  2365.     def HitTest(*args, **kwargs):
  2366.         '''
  2367.         HitTest(self, Point pt) -> int
  2368.  
  2369.         Test where the given (in client coords) point lies
  2370.         '''
  2371.         return _windows_.VScrolledWindow_HitTest(*args, **kwargs)
  2372.  
  2373.     
  2374.     def RefreshAll(*args, **kwargs):
  2375.         '''RefreshAll(self)'''
  2376.         return _windows_.VScrolledWindow_RefreshAll(*args, **kwargs)
  2377.  
  2378.     
  2379.     def GetLineCount(*args, **kwargs):
  2380.         '''GetLineCount(self) -> size_t'''
  2381.         return _windows_.VScrolledWindow_GetLineCount(*args, **kwargs)
  2382.  
  2383.     
  2384.     def GetVisibleBegin(*args, **kwargs):
  2385.         '''GetVisibleBegin(self) -> size_t'''
  2386.         return _windows_.VScrolledWindow_GetVisibleBegin(*args, **kwargs)
  2387.  
  2388.     
  2389.     def GetVisibleEnd(*args, **kwargs):
  2390.         '''GetVisibleEnd(self) -> size_t'''
  2391.         return _windows_.VScrolledWindow_GetVisibleEnd(*args, **kwargs)
  2392.  
  2393.     
  2394.     def IsVisible(*args, **kwargs):
  2395.         '''IsVisible(self, size_t line) -> bool'''
  2396.         return _windows_.VScrolledWindow_IsVisible(*args, **kwargs)
  2397.  
  2398.     
  2399.     def GetFirstVisibleLine(*args, **kwargs):
  2400.         '''GetFirstVisibleLine(self) -> size_t'''
  2401.         return _windows_.VScrolledWindow_GetFirstVisibleLine(*args, **kwargs)
  2402.  
  2403.     
  2404.     def GetLastVisibleLine(*args, **kwargs):
  2405.         '''GetLastVisibleLine(self) -> size_t'''
  2406.         return _windows_.VScrolledWindow_GetLastVisibleLine(*args, **kwargs)
  2407.  
  2408.  
  2409.  
  2410. class VScrolledWindowPtr(VScrolledWindow):
  2411.     
  2412.     def __init__(self, this):
  2413.         self.this = this
  2414.         if not hasattr(self, 'thisown'):
  2415.             self.thisown = 0
  2416.         
  2417.         self.__class__ = VScrolledWindow
  2418.  
  2419.  
  2420. _windows_.VScrolledWindow_swigregister(VScrolledWindowPtr)
  2421.  
  2422. def PreVScrolledWindow(*args, **kwargs):
  2423.     '''PreVScrolledWindow() -> VScrolledWindow'''
  2424.     val = _windows_.new_PreVScrolledWindow(*args, **kwargs)
  2425.     val.thisown = 1
  2426.     return val
  2427.  
  2428.  
  2429. class VListBox(VScrolledWindow):
  2430.     '''Proxy of C++ VListBox class'''
  2431.     
  2432.     def __repr__(self):
  2433.         return '<%s.%s; proxy of C++ wxPyVListBox instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  2434.  
  2435.     
  2436.     def __init__(self, *args, **kwargs):
  2437.         '''
  2438.         __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, 
  2439.             Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> VListBox
  2440.         '''
  2441.         newobj = _windows_.new_VListBox(*args, **kwargs)
  2442.         self.this = newobj.this
  2443.         self.thisown = 1
  2444.         del newobj.thisown
  2445.         self._setOORInfo(self)
  2446.         self._setCallbackInfo(self, VListBox)
  2447.  
  2448.     
  2449.     def _setCallbackInfo(*args, **kwargs):
  2450.         '''_setCallbackInfo(self, PyObject self, PyObject _class)'''
  2451.         return _windows_.VListBox__setCallbackInfo(*args, **kwargs)
  2452.  
  2453.     
  2454.     def Create(*args, **kwargs):
  2455.         '''
  2456.         Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, 
  2457.             Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
  2458.         '''
  2459.         return _windows_.VListBox_Create(*args, **kwargs)
  2460.  
  2461.     
  2462.     def GetItemCount(*args, **kwargs):
  2463.         '''GetItemCount(self) -> size_t'''
  2464.         return _windows_.VListBox_GetItemCount(*args, **kwargs)
  2465.  
  2466.     
  2467.     def HasMultipleSelection(*args, **kwargs):
  2468.         '''HasMultipleSelection(self) -> bool'''
  2469.         return _windows_.VListBox_HasMultipleSelection(*args, **kwargs)
  2470.  
  2471.     
  2472.     def GetSelection(*args, **kwargs):
  2473.         '''GetSelection(self) -> int'''
  2474.         return _windows_.VListBox_GetSelection(*args, **kwargs)
  2475.  
  2476.     
  2477.     def IsCurrent(*args, **kwargs):
  2478.         '''IsCurrent(self, size_t item) -> bool'''
  2479.         return _windows_.VListBox_IsCurrent(*args, **kwargs)
  2480.  
  2481.     
  2482.     def IsSelected(*args, **kwargs):
  2483.         '''IsSelected(self, size_t item) -> bool'''
  2484.         return _windows_.VListBox_IsSelected(*args, **kwargs)
  2485.  
  2486.     
  2487.     def GetSelectedCount(*args, **kwargs):
  2488.         '''GetSelectedCount(self) -> size_t'''
  2489.         return _windows_.VListBox_GetSelectedCount(*args, **kwargs)
  2490.  
  2491.     
  2492.     def GetFirstSelected(*args, **kwargs):
  2493.         '''GetFirstSelected(self) -> PyObject'''
  2494.         return _windows_.VListBox_GetFirstSelected(*args, **kwargs)
  2495.  
  2496.     
  2497.     def GetNextSelected(*args, **kwargs):
  2498.         '''GetNextSelected(self, unsigned long cookie) -> PyObject'''
  2499.         return _windows_.VListBox_GetNextSelected(*args, **kwargs)
  2500.  
  2501.     
  2502.     def GetMargins(*args, **kwargs):
  2503.         '''GetMargins(self) -> Point'''
  2504.         return _windows_.VListBox_GetMargins(*args, **kwargs)
  2505.  
  2506.     
  2507.     def GetSelectionBackground(*args, **kwargs):
  2508.         '''GetSelectionBackground(self) -> Colour'''
  2509.         return _windows_.VListBox_GetSelectionBackground(*args, **kwargs)
  2510.  
  2511.     
  2512.     def SetItemCount(*args, **kwargs):
  2513.         '''SetItemCount(self, size_t count)'''
  2514.         return _windows_.VListBox_SetItemCount(*args, **kwargs)
  2515.  
  2516.     
  2517.     def Clear(*args, **kwargs):
  2518.         '''Clear(self)'''
  2519.         return _windows_.VListBox_Clear(*args, **kwargs)
  2520.  
  2521.     
  2522.     def SetSelection(*args, **kwargs):
  2523.         '''SetSelection(self, int selection)'''
  2524.         return _windows_.VListBox_SetSelection(*args, **kwargs)
  2525.  
  2526.     
  2527.     def Select(*args, **kwargs):
  2528.         '''Select(self, size_t item, bool select=True) -> bool'''
  2529.         return _windows_.VListBox_Select(*args, **kwargs)
  2530.  
  2531.     
  2532.     def SelectRange(*args, **kwargs):
  2533.         '''SelectRange(self, size_t from, size_t to) -> bool'''
  2534.         return _windows_.VListBox_SelectRange(*args, **kwargs)
  2535.  
  2536.     
  2537.     def Toggle(*args, **kwargs):
  2538.         '''Toggle(self, size_t item)'''
  2539.         return _windows_.VListBox_Toggle(*args, **kwargs)
  2540.  
  2541.     
  2542.     def SelectAll(*args, **kwargs):
  2543.         '''SelectAll(self) -> bool'''
  2544.         return _windows_.VListBox_SelectAll(*args, **kwargs)
  2545.  
  2546.     
  2547.     def DeselectAll(*args, **kwargs):
  2548.         '''DeselectAll(self) -> bool'''
  2549.         return _windows_.VListBox_DeselectAll(*args, **kwargs)
  2550.  
  2551.     
  2552.     def SetMargins(*args, **kwargs):
  2553.         '''SetMargins(self, Point pt)'''
  2554.         return _windows_.VListBox_SetMargins(*args, **kwargs)
  2555.  
  2556.     
  2557.     def SetMarginsXY(*args, **kwargs):
  2558.         '''SetMarginsXY(self, int x, int y)'''
  2559.         return _windows_.VListBox_SetMarginsXY(*args, **kwargs)
  2560.  
  2561.     
  2562.     def SetSelectionBackground(*args, **kwargs):
  2563.         '''SetSelectionBackground(self, Colour col)'''
  2564.         return _windows_.VListBox_SetSelectionBackground(*args, **kwargs)
  2565.  
  2566.     
  2567.     def base_OnDrawSeparator(*args, **kwargs):
  2568.         '''base_OnDrawSeparator(self, DC dc, Rect rect, size_t n)'''
  2569.         return _windows_.VListBox_base_OnDrawSeparator(*args, **kwargs)
  2570.  
  2571.     
  2572.     def base_OnDrawBackground(*args, **kwargs):
  2573.         '''base_OnDrawBackground(self, DC dc, Rect rect, size_t n)'''
  2574.         return _windows_.VListBox_base_OnDrawBackground(*args, **kwargs)
  2575.  
  2576.  
  2577.  
  2578. class VListBoxPtr(VListBox):
  2579.     
  2580.     def __init__(self, this):
  2581.         self.this = this
  2582.         if not hasattr(self, 'thisown'):
  2583.             self.thisown = 0
  2584.         
  2585.         self.__class__ = VListBox
  2586.  
  2587.  
  2588. _windows_.VListBox_swigregister(VListBoxPtr)
  2589. VListBoxNameStr = cvar.VListBoxNameStr
  2590.  
  2591. def PreVListBox(*args, **kwargs):
  2592.     '''PreVListBox() -> VListBox'''
  2593.     val = _windows_.new_PreVListBox(*args, **kwargs)
  2594.     val.thisown = 1
  2595.     return val
  2596.  
  2597.  
  2598. class HtmlListBox(VListBox):
  2599.     '''Proxy of C++ HtmlListBox class'''
  2600.     
  2601.     def __repr__(self):
  2602.         return '<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  2603.  
  2604.     
  2605.     def __init__(self, *args, **kwargs):
  2606.         '''
  2607.         __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, 
  2608.             Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> HtmlListBox
  2609.         '''
  2610.         newobj = _windows_.new_HtmlListBox(*args, **kwargs)
  2611.         self.this = newobj.this
  2612.         self.thisown = 1
  2613.         del newobj.thisown
  2614.         self._setOORInfo(self)
  2615.         self._setCallbackInfo(self, HtmlListBox)
  2616.  
  2617.     
  2618.     def _setCallbackInfo(*args, **kwargs):
  2619.         '''_setCallbackInfo(self, PyObject self, PyObject _class)'''
  2620.         return _windows_.HtmlListBox__setCallbackInfo(*args, **kwargs)
  2621.  
  2622.     
  2623.     def Create(*args, **kwargs):
  2624.         '''
  2625.         Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, 
  2626.             Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> bool
  2627.         '''
  2628.         return _windows_.HtmlListBox_Create(*args, **kwargs)
  2629.  
  2630.     
  2631.     def RefreshAll(*args, **kwargs):
  2632.         '''RefreshAll(self)'''
  2633.         return _windows_.HtmlListBox_RefreshAll(*args, **kwargs)
  2634.  
  2635.     
  2636.     def SetItemCount(*args, **kwargs):
  2637.         '''SetItemCount(self, size_t count)'''
  2638.         return _windows_.HtmlListBox_SetItemCount(*args, **kwargs)
  2639.  
  2640.     
  2641.     def GetFileSystem(*args, **kwargs):
  2642.         '''GetFileSystem(self) -> FileSystem'''
  2643.         return _windows_.HtmlListBox_GetFileSystem(*args, **kwargs)
  2644.  
  2645.  
  2646.  
  2647. class HtmlListBoxPtr(HtmlListBox):
  2648.     
  2649.     def __init__(self, this):
  2650.         self.this = this
  2651.         if not hasattr(self, 'thisown'):
  2652.             self.thisown = 0
  2653.         
  2654.         self.__class__ = HtmlListBox
  2655.  
  2656.  
  2657. _windows_.HtmlListBox_swigregister(HtmlListBoxPtr)
  2658.  
  2659. def PreHtmlListBox(*args, **kwargs):
  2660.     '''PreHtmlListBox() -> HtmlListBox'''
  2661.     val = _windows_.new_PreHtmlListBox(*args, **kwargs)
  2662.     val.thisown = 1
  2663.     return val
  2664.  
  2665.  
  2666. class TaskBarIcon(_core.EvtHandler):
  2667.     '''Proxy of C++ TaskBarIcon class'''
  2668.     
  2669.     def __repr__(self):
  2670.         return '<%s.%s; proxy of C++ wxPyTaskBarIcon instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  2671.  
  2672.     
  2673.     def __init__(self, *args, **kwargs):
  2674.         '''__init__(self) -> TaskBarIcon'''
  2675.         newobj = _windows_.new_TaskBarIcon(*args, **kwargs)
  2676.         self.this = newobj.this
  2677.         self.thisown = 1
  2678.         del newobj.thisown
  2679.         self._setCallbackInfo(self, TaskBarIcon, 0)
  2680.  
  2681.     
  2682.     def _setCallbackInfo(*args, **kwargs):
  2683.         '''_setCallbackInfo(self, PyObject self, PyObject _class, int incref)'''
  2684.         return _windows_.TaskBarIcon__setCallbackInfo(*args, **kwargs)
  2685.  
  2686.     
  2687.     def Destroy(*args, **kwargs):
  2688.         '''
  2689.         Destroy(self)
  2690.  
  2691.         Deletes the C++ object this Python object is a proxy for.
  2692.         '''
  2693.         return _windows_.TaskBarIcon_Destroy(*args, **kwargs)
  2694.  
  2695.     
  2696.     def IsOk(*args, **kwargs):
  2697.         '''IsOk(self) -> bool'''
  2698.         return _windows_.TaskBarIcon_IsOk(*args, **kwargs)
  2699.  
  2700.     
  2701.     def __nonzero__(self):
  2702.         return self.IsOk()
  2703.  
  2704.     
  2705.     def IsIconInstalled(*args, **kwargs):
  2706.         '''IsIconInstalled(self) -> bool'''
  2707.         return _windows_.TaskBarIcon_IsIconInstalled(*args, **kwargs)
  2708.  
  2709.     
  2710.     def SetIcon(*args, **kwargs):
  2711.         '''SetIcon(self, Icon icon, String tooltip=EmptyString) -> bool'''
  2712.         return _windows_.TaskBarIcon_SetIcon(*args, **kwargs)
  2713.  
  2714.     
  2715.     def RemoveIcon(*args, **kwargs):
  2716.         '''RemoveIcon(self) -> bool'''
  2717.         return _windows_.TaskBarIcon_RemoveIcon(*args, **kwargs)
  2718.  
  2719.     
  2720.     def PopupMenu(*args, **kwargs):
  2721.         '''PopupMenu(self, Menu menu) -> bool'''
  2722.         return _windows_.TaskBarIcon_PopupMenu(*args, **kwargs)
  2723.  
  2724.  
  2725.  
  2726. class TaskBarIconPtr(TaskBarIcon):
  2727.     
  2728.     def __init__(self, this):
  2729.         self.this = this
  2730.         if not hasattr(self, 'thisown'):
  2731.             self.thisown = 0
  2732.         
  2733.         self.__class__ = TaskBarIcon
  2734.  
  2735.  
  2736. _windows_.TaskBarIcon_swigregister(TaskBarIconPtr)
  2737.  
  2738. class TaskBarIconEvent(_core.Event):
  2739.     '''Proxy of C++ TaskBarIconEvent class'''
  2740.     
  2741.     def __repr__(self):
  2742.         return '<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  2743.  
  2744.     
  2745.     def __init__(self, *args, **kwargs):
  2746.         '''__init__(self, wxEventType evtType, wxTaskBarIcon tbIcon) -> TaskBarIconEvent'''
  2747.         newobj = _windows_.new_TaskBarIconEvent(*args, **kwargs)
  2748.         self.this = newobj.this
  2749.         self.thisown = 1
  2750.         del newobj.thisown
  2751.  
  2752.  
  2753.  
  2754. class TaskBarIconEventPtr(TaskBarIconEvent):
  2755.     
  2756.     def __init__(self, this):
  2757.         self.this = this
  2758.         if not hasattr(self, 'thisown'):
  2759.             self.thisown = 0
  2760.         
  2761.         self.__class__ = TaskBarIconEvent
  2762.  
  2763.  
  2764. _windows_.TaskBarIconEvent_swigregister(TaskBarIconEventPtr)
  2765. wxEVT_TASKBAR_MOVE = _windows_.wxEVT_TASKBAR_MOVE
  2766. wxEVT_TASKBAR_LEFT_DOWN = _windows_.wxEVT_TASKBAR_LEFT_DOWN
  2767. wxEVT_TASKBAR_LEFT_UP = _windows_.wxEVT_TASKBAR_LEFT_UP
  2768. wxEVT_TASKBAR_RIGHT_DOWN = _windows_.wxEVT_TASKBAR_RIGHT_DOWN
  2769. wxEVT_TASKBAR_RIGHT_UP = _windows_.wxEVT_TASKBAR_RIGHT_UP
  2770. wxEVT_TASKBAR_LEFT_DCLICK = _windows_.wxEVT_TASKBAR_LEFT_DCLICK
  2771. wxEVT_TASKBAR_RIGHT_DCLICK = _windows_.wxEVT_TASKBAR_RIGHT_DCLICK
  2772. EVT_TASKBAR_MOVE = wx.PyEventBinder(wxEVT_TASKBAR_MOVE)
  2773. EVT_TASKBAR_LEFT_DOWN = wx.PyEventBinder(wxEVT_TASKBAR_LEFT_DOWN)
  2774. EVT_TASKBAR_LEFT_UP = wx.PyEventBinder(wxEVT_TASKBAR_LEFT_UP)
  2775. EVT_TASKBAR_RIGHT_DOWN = wx.PyEventBinder(wxEVT_TASKBAR_RIGHT_DOWN)
  2776. EVT_TASKBAR_RIGHT_UP = wx.PyEventBinder(wxEVT_TASKBAR_RIGHT_UP)
  2777. EVT_TASKBAR_LEFT_DCLICK = wx.PyEventBinder(wxEVT_TASKBAR_LEFT_DCLICK)
  2778. EVT_TASKBAR_RIGHT_DCLICK = wx.PyEventBinder(wxEVT_TASKBAR_RIGHT_DCLICK)
  2779.  
  2780. class ColourData(_core.Object):
  2781.     '''
  2782.     This class holds a variety of information related to the colour
  2783.     chooser dialog, used to transfer settings and results to and from the
  2784.     `wx.ColourDialog`.
  2785.     '''
  2786.     
  2787.     def __repr__(self):
  2788.         return '<%s.%s; proxy of C++ wxColourData instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  2789.  
  2790.     
  2791.     def __init__(self, *args, **kwargs):
  2792.         '''
  2793.         __init__(self) -> ColourData
  2794.  
  2795.         Constructor, sets default values.
  2796.         '''
  2797.         newobj = _windows_.new_ColourData(*args, **kwargs)
  2798.         self.this = newobj.this
  2799.         self.thisown = 1
  2800.         del newobj.thisown
  2801.  
  2802.     
  2803.     def __del__(self, destroy = _windows_.delete_ColourData):
  2804.         '''__del__(self)'''
  2805.         
  2806.         try:
  2807.             if self.thisown:
  2808.                 destroy(self)
  2809.         except:
  2810.             pass
  2811.  
  2812.  
  2813.     
  2814.     def GetChooseFull(*args, **kwargs):
  2815.         '''
  2816.         GetChooseFull(self) -> bool
  2817.  
  2818.         Under Windows, determines whether the Windows colour dialog will
  2819.         display the full dialog with custom colour selection controls. Has no
  2820.         meaning under other platforms.  The default value is true.
  2821.         '''
  2822.         return _windows_.ColourData_GetChooseFull(*args, **kwargs)
  2823.  
  2824.     
  2825.     def GetColour(*args, **kwargs):
  2826.         '''
  2827.         GetColour(self) -> Colour
  2828.  
  2829.         Gets the colour (pre)selected by the dialog.
  2830.         '''
  2831.         return _windows_.ColourData_GetColour(*args, **kwargs)
  2832.  
  2833.     
  2834.     def GetCustomColour(*args, **kwargs):
  2835.         """
  2836.         GetCustomColour(self, int i) -> Colour
  2837.  
  2838.         Gets the i'th custom colour associated with the colour dialog. i
  2839.         should be an integer between 0 and 15. The default custom colours are
  2840.         all invalid colours.
  2841.         """
  2842.         return _windows_.ColourData_GetCustomColour(*args, **kwargs)
  2843.  
  2844.     
  2845.     def SetChooseFull(*args, **kwargs):
  2846.         '''
  2847.         SetChooseFull(self, int flag)
  2848.  
  2849.         Under Windows, tells the Windows colour dialog to display the full
  2850.         dialog with custom colour selection controls. Under other platforms,
  2851.         has no effect.  The default value is true.
  2852.         '''
  2853.         return _windows_.ColourData_SetChooseFull(*args, **kwargs)
  2854.  
  2855.     
  2856.     def SetColour(*args, **kwargs):
  2857.         '''
  2858.         SetColour(self, Colour colour)
  2859.  
  2860.         Sets the default colour for the colour dialog.  The default colour is
  2861.         black.
  2862.         '''
  2863.         return _windows_.ColourData_SetColour(*args, **kwargs)
  2864.  
  2865.     
  2866.     def SetCustomColour(*args, **kwargs):
  2867.         """
  2868.         SetCustomColour(self, int i, Colour colour)
  2869.  
  2870.         Sets the i'th custom colour for the colour dialog. i should be an
  2871.         integer between 0 and 15. The default custom colours are all invalid colours.
  2872.         """
  2873.         return _windows_.ColourData_SetCustomColour(*args, **kwargs)
  2874.  
  2875.  
  2876.  
  2877. class ColourDataPtr(ColourData):
  2878.     
  2879.     def __init__(self, this):
  2880.         self.this = this
  2881.         if not hasattr(self, 'thisown'):
  2882.             self.thisown = 0
  2883.         
  2884.         self.__class__ = ColourData
  2885.  
  2886.  
  2887. _windows_.ColourData_swigregister(ColourDataPtr)
  2888. FileSelectorPromptStr = cvar.FileSelectorPromptStr
  2889. DirSelectorPromptStr = cvar.DirSelectorPromptStr
  2890. DirDialogNameStr = cvar.DirDialogNameStr
  2891. FileSelectorDefaultWildcardStr = cvar.FileSelectorDefaultWildcardStr
  2892. GetTextFromUserPromptStr = cvar.GetTextFromUserPromptStr
  2893. MessageBoxCaptionStr = cvar.MessageBoxCaptionStr
  2894.  
  2895. class ColourDialog(Dialog):
  2896.     '''This class represents the colour chooser dialog.'''
  2897.     
  2898.     def __repr__(self):
  2899.         return '<%s.%s; proxy of C++ wxColourDialog instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  2900.  
  2901.     
  2902.     def __init__(self, *args, **kwargs):
  2903.         """
  2904.         __init__(self, Window parent, ColourData data=None) -> ColourDialog
  2905.  
  2906.         Constructor. Pass a parent window, and optionally a `wx.ColourData`,
  2907.         which will be copied to the colour dialog's internal ColourData
  2908.         instance.
  2909.         """
  2910.         newobj = _windows_.new_ColourDialog(*args, **kwargs)
  2911.         self.this = newobj.this
  2912.         self.thisown = 1
  2913.         del newobj.thisown
  2914.         self._setOORInfo(self)
  2915.  
  2916.     
  2917.     def GetColourData(*args, **kwargs):
  2918.         '''
  2919.         GetColourData(self) -> ColourData
  2920.  
  2921.         Returns a reference to the `wx.ColourData` used by the dialog.
  2922.         '''
  2923.         return _windows_.ColourDialog_GetColourData(*args, **kwargs)
  2924.  
  2925.  
  2926.  
  2927. class ColourDialogPtr(ColourDialog):
  2928.     
  2929.     def __init__(self, this):
  2930.         self.this = this
  2931.         if not hasattr(self, 'thisown'):
  2932.             self.thisown = 0
  2933.         
  2934.         self.__class__ = ColourDialog
  2935.  
  2936.  
  2937. _windows_.ColourDialog_swigregister(ColourDialogPtr)
  2938.  
  2939. class DirDialog(Dialog):
  2940.     '''
  2941.     wx.DirDialog allows the user to select a directory by browising the
  2942.     file system.
  2943.     '''
  2944.     
  2945.     def __repr__(self):
  2946.         return '<%s.%s; proxy of C++ wxDirDialog instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  2947.  
  2948.     
  2949.     def __init__(self, *args, **kwargs):
  2950.         '''
  2951.         __init__(self, Window parent, String message=DirSelectorPromptStr, 
  2952.             String defaultPath=EmptyString, long style=0, 
  2953.             Point pos=DefaultPosition, Size size=DefaultSize, 
  2954.             String name=DirDialogNameStr) -> DirDialog
  2955.  
  2956.         Constructor.  Use ShowModal method to show the dialog.
  2957.         '''
  2958.         newobj = _windows_.new_DirDialog(*args, **kwargs)
  2959.         self.this = newobj.this
  2960.         self.thisown = 1
  2961.         del newobj.thisown
  2962.         self._setOORInfo(self)
  2963.  
  2964.     
  2965.     def GetPath(*args, **kwargs):
  2966.         '''
  2967.         GetPath(self) -> String
  2968.  
  2969.         Returns the default or user-selected path.
  2970.         '''
  2971.         return _windows_.DirDialog_GetPath(*args, **kwargs)
  2972.  
  2973.     
  2974.     def GetMessage(*args, **kwargs):
  2975.         '''
  2976.         GetMessage(self) -> String
  2977.  
  2978.         Returns the message that will be displayed on the dialog.
  2979.         '''
  2980.         return _windows_.DirDialog_GetMessage(*args, **kwargs)
  2981.  
  2982.     
  2983.     def GetStyle(*args, **kwargs):
  2984.         '''
  2985.         GetStyle(self) -> long
  2986.  
  2987.         Returns the dialog style.
  2988.         '''
  2989.         return _windows_.DirDialog_GetStyle(*args, **kwargs)
  2990.  
  2991.     
  2992.     def SetMessage(*args, **kwargs):
  2993.         '''
  2994.         SetMessage(self, String message)
  2995.  
  2996.         Sets the message that will be displayed on the dialog.
  2997.         '''
  2998.         return _windows_.DirDialog_SetMessage(*args, **kwargs)
  2999.  
  3000.     
  3001.     def SetPath(*args, **kwargs):
  3002.         '''
  3003.         SetPath(self, String path)
  3004.  
  3005.         Sets the default path.
  3006.         '''
  3007.         return _windows_.DirDialog_SetPath(*args, **kwargs)
  3008.  
  3009.  
  3010.  
  3011. class DirDialogPtr(DirDialog):
  3012.     
  3013.     def __init__(self, this):
  3014.         self.this = this
  3015.         if not hasattr(self, 'thisown'):
  3016.             self.thisown = 0
  3017.         
  3018.         self.__class__ = DirDialog
  3019.  
  3020.  
  3021. _windows_.DirDialog_swigregister(DirDialogPtr)
  3022.  
  3023. class FileDialog(Dialog):
  3024.     '''
  3025.     wx.FileDialog allows the user to select one or more files from the
  3026.     filesystem.
  3027.     '''
  3028.     
  3029.     def __repr__(self):
  3030.         return '<%s.%s; proxy of C++ wxFileDialog instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  3031.  
  3032.     
  3033.     def __init__(self, *args, **kwargs):
  3034.         '''
  3035.         __init__(self, Window parent, String message=FileSelectorPromptStr, 
  3036.             String defaultDir=EmptyString, String defaultFile=EmptyString, 
  3037.             String wildcard=FileSelectorDefaultWildcardStr, 
  3038.             long style=0, Point pos=DefaultPosition) -> FileDialog
  3039.  
  3040.         Constructor.  Use ShowModal method to show the dialog.
  3041.         '''
  3042.         newobj = _windows_.new_FileDialog(*args, **kwargs)
  3043.         self.this = newobj.this
  3044.         self.thisown = 1
  3045.         del newobj.thisown
  3046.         self._setOORInfo(self)
  3047.  
  3048.     
  3049.     def SetMessage(*args, **kwargs):
  3050.         '''
  3051.         SetMessage(self, String message)
  3052.  
  3053.         Sets the message that will be displayed on the dialog.
  3054.         '''
  3055.         return _windows_.FileDialog_SetMessage(*args, **kwargs)
  3056.  
  3057.     
  3058.     def SetPath(*args, **kwargs):
  3059.         '''
  3060.         SetPath(self, String path)
  3061.  
  3062.         Sets the path (the combined directory and filename that will be
  3063.         returned when the dialog is dismissed).
  3064.         '''
  3065.         return _windows_.FileDialog_SetPath(*args, **kwargs)
  3066.  
  3067.     
  3068.     def SetDirectory(*args, **kwargs):
  3069.         '''
  3070.         SetDirectory(self, String dir)
  3071.  
  3072.         Sets the default directory.
  3073.         '''
  3074.         return _windows_.FileDialog_SetDirectory(*args, **kwargs)
  3075.  
  3076.     
  3077.     def SetFilename(*args, **kwargs):
  3078.         '''
  3079.         SetFilename(self, String name)
  3080.  
  3081.         Sets the default filename.
  3082.         '''
  3083.         return _windows_.FileDialog_SetFilename(*args, **kwargs)
  3084.  
  3085.     
  3086.     def SetWildcard(*args, **kwargs):
  3087.         '''
  3088.         SetWildcard(self, String wildCard)
  3089.  
  3090.         Sets the wildcard, which can contain multiple file types, for
  3091.         example::
  3092.  
  3093.             "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
  3094.  
  3095.         '''
  3096.         return _windows_.FileDialog_SetWildcard(*args, **kwargs)
  3097.  
  3098.     
  3099.     def SetStyle(*args, **kwargs):
  3100.         '''
  3101.         SetStyle(self, long style)
  3102.  
  3103.         Sets the dialog style.
  3104.         '''
  3105.         return _windows_.FileDialog_SetStyle(*args, **kwargs)
  3106.  
  3107.     
  3108.     def SetFilterIndex(*args, **kwargs):
  3109.         '''
  3110.         SetFilterIndex(self, int filterIndex)
  3111.  
  3112.         Sets the default filter index, starting from zero.
  3113.         '''
  3114.         return _windows_.FileDialog_SetFilterIndex(*args, **kwargs)
  3115.  
  3116.     
  3117.     def GetMessage(*args, **kwargs):
  3118.         '''
  3119.         GetMessage(self) -> String
  3120.  
  3121.         Returns the message that will be displayed on the dialog.
  3122.         '''
  3123.         return _windows_.FileDialog_GetMessage(*args, **kwargs)
  3124.  
  3125.     
  3126.     def GetPath(*args, **kwargs):
  3127.         '''
  3128.         GetPath(self) -> String
  3129.  
  3130.         Returns the full path (directory and filename) of the selected file.
  3131.         '''
  3132.         return _windows_.FileDialog_GetPath(*args, **kwargs)
  3133.  
  3134.     
  3135.     def GetDirectory(*args, **kwargs):
  3136.         '''
  3137.         GetDirectory(self) -> String
  3138.  
  3139.         Returns the default directory.
  3140.         '''
  3141.         return _windows_.FileDialog_GetDirectory(*args, **kwargs)
  3142.  
  3143.     
  3144.     def GetFilename(*args, **kwargs):
  3145.         '''
  3146.         GetFilename(self) -> String
  3147.  
  3148.         Returns the default filename.
  3149.         '''
  3150.         return _windows_.FileDialog_GetFilename(*args, **kwargs)
  3151.  
  3152.     
  3153.     def GetWildcard(*args, **kwargs):
  3154.         '''
  3155.         GetWildcard(self) -> String
  3156.  
  3157.         Returns the file dialog wildcard.
  3158.         '''
  3159.         return _windows_.FileDialog_GetWildcard(*args, **kwargs)
  3160.  
  3161.     
  3162.     def GetStyle(*args, **kwargs):
  3163.         '''
  3164.         GetStyle(self) -> long
  3165.  
  3166.         Returns the dialog style.
  3167.         '''
  3168.         return _windows_.FileDialog_GetStyle(*args, **kwargs)
  3169.  
  3170.     
  3171.     def GetFilterIndex(*args, **kwargs):
  3172.         '''
  3173.         GetFilterIndex(self) -> int
  3174.  
  3175.         Returns the index into the list of filters supplied, optionally, in
  3176.         the wildcard parameter. Before the dialog is shown, this is the index
  3177.         which will be used when the dialog is first displayed. After the
  3178.         dialog is shown, this is the index selected by the user.
  3179.         '''
  3180.         return _windows_.FileDialog_GetFilterIndex(*args, **kwargs)
  3181.  
  3182.     
  3183.     def GetFilenames(*args, **kwargs):
  3184.         '''
  3185.         GetFilenames(self) -> PyObject
  3186.  
  3187.         Returns a list of filenames chosen in the dialog.  This function
  3188.         should only be used with the dialogs which have wx.MULTIPLE style, use
  3189.         GetFilename for the others.
  3190.         '''
  3191.         return _windows_.FileDialog_GetFilenames(*args, **kwargs)
  3192.  
  3193.     
  3194.     def GetPaths(*args, **kwargs):
  3195.         '''
  3196.         GetPaths(self) -> PyObject
  3197.  
  3198.         Fills the array paths with the full paths of the files chosen. This
  3199.         function should only be used with the dialogs which have wx.MULTIPLE
  3200.         style, use GetPath for the others.
  3201.         '''
  3202.         return _windows_.FileDialog_GetPaths(*args, **kwargs)
  3203.  
  3204.  
  3205.  
  3206. class FileDialogPtr(FileDialog):
  3207.     
  3208.     def __init__(self, this):
  3209.         self.this = this
  3210.         if not hasattr(self, 'thisown'):
  3211.             self.thisown = 0
  3212.         
  3213.         self.__class__ = FileDialog
  3214.  
  3215.  
  3216. _windows_.FileDialog_swigregister(FileDialogPtr)
  3217. CHOICEDLG_STYLE = _windows_.CHOICEDLG_STYLE
  3218.  
  3219. class MultiChoiceDialog(Dialog):
  3220.     '''A simple dialog with a multi selection listbox.'''
  3221.     
  3222.     def __repr__(self):
  3223.         return '<%s.%s; proxy of C++ wxMultiChoiceDialog instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  3224.  
  3225.     
  3226.     def __init__(self, *args, **kwargs):
  3227.         '''
  3228.         __init__(self, Window parent, String message, String caption,
  3229.             List choices=EmptyList, long style=CHOICEDLG_STYLE,
  3230.             Point pos=DefaultPosition) -> MultiChoiceDialog
  3231.  
  3232.         Constructor.  Use the `ShowModal` method to show the dialog.
  3233.  
  3234.             :param parent: The parent window.
  3235.             :param message: Text to display above the list of selections.
  3236.             :param caption: Text to use in the title bar of the dialog.
  3237.             :param choices: A list of strings or unicode objects that the
  3238.                 user is allowed to choose from.
  3239.             :param style: Styles to apply to the dialog.  The default value is
  3240.                 equivallent to wx.DEFAULT_DIALOG_STYLE|wx.RESIZE_BORDER|wx.OK|wx.CANCEL|wx.CENTER.
  3241.             :param pos: Where to position the dialog (not used on Windows)
  3242.  
  3243.  
  3244.         '''
  3245.         newobj = _windows_.new_MultiChoiceDialog(*args, **kwargs)
  3246.         self.this = newobj.this
  3247.         self.thisown = 1
  3248.         del newobj.thisown
  3249.         self._setOORInfo(self)
  3250.  
  3251.     
  3252.     def SetSelections(*args, **kwargs):
  3253.         '''
  3254.         SetSelections(List selections)
  3255.  
  3256.         Specify the items in the list that should be selected, using a list of
  3257.         integers.  The list should specify the indexes of the items that
  3258.         should be selected.
  3259.         '''
  3260.         return _windows_.MultiChoiceDialog_SetSelections(*args, **kwargs)
  3261.  
  3262.     
  3263.     def GetSelections(*args, **kwargs):
  3264.         '''
  3265.         GetSelections() -> [selections]
  3266.  
  3267.         Returns a list of integers representing the items that are selected.
  3268.         If an item is selected then its index will appear in the list.
  3269.         '''
  3270.         return _windows_.MultiChoiceDialog_GetSelections(*args, **kwargs)
  3271.  
  3272.  
  3273.  
  3274. class MultiChoiceDialogPtr(MultiChoiceDialog):
  3275.     
  3276.     def __init__(self, this):
  3277.         self.this = this
  3278.         if not hasattr(self, 'thisown'):
  3279.             self.thisown = 0
  3280.         
  3281.         self.__class__ = MultiChoiceDialog
  3282.  
  3283.  
  3284. _windows_.MultiChoiceDialog_swigregister(MultiChoiceDialogPtr)
  3285.  
  3286. class SingleChoiceDialog(Dialog):
  3287.     '''A simple dialog with a single selection listbox.'''
  3288.     
  3289.     def __repr__(self):
  3290.         return '<%s.%s; proxy of C++ wxSingleChoiceDialog instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  3291.  
  3292.     
  3293.     def __init__(self, *args, **kwargs):
  3294.         '''
  3295.         __init__(Window parent, String message, String caption,
  3296.             List choices=EmptyList, long style=CHOICEDLG_STYLE,
  3297.             Point pos=DefaultPosition) -> SingleChoiceDialog
  3298.  
  3299.         Constructor.  Use ShowModal method to show the dialog.
  3300.         '''
  3301.         newobj = _windows_.new_SingleChoiceDialog(*args, **kwargs)
  3302.         self.this = newobj.this
  3303.         self.thisown = 1
  3304.         del newobj.thisown
  3305.         self._setOORInfo(self)
  3306.  
  3307.     
  3308.     def GetSelection(*args, **kwargs):
  3309.         '''
  3310.         GetSelection(self) -> int
  3311.  
  3312.         Get the index of teh currently selected item.
  3313.         '''
  3314.         return _windows_.SingleChoiceDialog_GetSelection(*args, **kwargs)
  3315.  
  3316.     
  3317.     def GetStringSelection(*args, **kwargs):
  3318.         '''
  3319.         GetStringSelection(self) -> String
  3320.  
  3321.         Returns the string value of the currently selected item
  3322.         '''
  3323.         return _windows_.SingleChoiceDialog_GetStringSelection(*args, **kwargs)
  3324.  
  3325.     
  3326.     def SetSelection(*args, **kwargs):
  3327.         '''
  3328.         SetSelection(self, int sel)
  3329.  
  3330.         Set the current selected item to sel
  3331.         '''
  3332.         return _windows_.SingleChoiceDialog_SetSelection(*args, **kwargs)
  3333.  
  3334.  
  3335.  
  3336. class SingleChoiceDialogPtr(SingleChoiceDialog):
  3337.     
  3338.     def __init__(self, this):
  3339.         self.this = this
  3340.         if not hasattr(self, 'thisown'):
  3341.             self.thisown = 0
  3342.         
  3343.         self.__class__ = SingleChoiceDialog
  3344.  
  3345.  
  3346. _windows_.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr)
  3347. TextEntryDialogStyle = _windows_.TextEntryDialogStyle
  3348.  
  3349. class TextEntryDialog(Dialog):
  3350.     '''A dialog with text control, [ok] and [cancel] buttons'''
  3351.     
  3352.     def __repr__(self):
  3353.         return '<%s.%s; proxy of C++ wxTextEntryDialog instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  3354.  
  3355.     
  3356.     def __init__(self, *args, **kwargs):
  3357.         '''
  3358.         __init__(self, Window parent, String message, String caption=GetTextFromUserPromptStr, 
  3359.             String defaultValue=EmptyString, 
  3360.             long style=TextEntryDialogStyle, Point pos=DefaultPosition) -> TextEntryDialog
  3361.  
  3362.         Constructor.  Use ShowModal method to show the dialog.
  3363.         '''
  3364.         newobj = _windows_.new_TextEntryDialog(*args, **kwargs)
  3365.         self.this = newobj.this
  3366.         self.thisown = 1
  3367.         del newobj.thisown
  3368.         self._setOORInfo(self)
  3369.  
  3370.     
  3371.     def GetValue(*args, **kwargs):
  3372.         '''
  3373.         GetValue(self) -> String
  3374.  
  3375.         Returns the text that the user has entered if the user has pressed OK,
  3376.         or the original value if the user has pressed Cancel.
  3377.         '''
  3378.         return _windows_.TextEntryDialog_GetValue(*args, **kwargs)
  3379.  
  3380.     
  3381.     def SetValue(*args, **kwargs):
  3382.         '''
  3383.         SetValue(self, String value)
  3384.  
  3385.         Sets the default text value.
  3386.         '''
  3387.         return _windows_.TextEntryDialog_SetValue(*args, **kwargs)
  3388.  
  3389.  
  3390.  
  3391. class TextEntryDialogPtr(TextEntryDialog):
  3392.     
  3393.     def __init__(self, this):
  3394.         self.this = this
  3395.         if not hasattr(self, 'thisown'):
  3396.             self.thisown = 0
  3397.         
  3398.         self.__class__ = TextEntryDialog
  3399.  
  3400.  
  3401. _windows_.TextEntryDialog_swigregister(TextEntryDialogPtr)
  3402.  
  3403. class PasswordEntryDialog(TextEntryDialog):
  3404.     '''Proxy of C++ PasswordEntryDialog class'''
  3405.     
  3406.     def __repr__(self):
  3407.         return '<%s.%s; proxy of C++ wxPasswordEntryDialog instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  3408.  
  3409.     
  3410.     def __init__(self, *args, **kwargs):
  3411.         '''
  3412.         __init__(self, Window parent, String message, String caption=GetPasswordFromUserPromptStr, 
  3413.             String value=EmptyString, 
  3414.             long style=TextEntryDialogStyle, Point pos=DefaultPosition) -> PasswordEntryDialog
  3415.         '''
  3416.         newobj = _windows_.new_PasswordEntryDialog(*args, **kwargs)
  3417.         self.this = newobj.this
  3418.         self.thisown = 1
  3419.         del newobj.thisown
  3420.  
  3421.  
  3422.  
  3423. class PasswordEntryDialogPtr(PasswordEntryDialog):
  3424.     
  3425.     def __init__(self, this):
  3426.         self.this = this
  3427.         if not hasattr(self, 'thisown'):
  3428.             self.thisown = 0
  3429.         
  3430.         self.__class__ = PasswordEntryDialog
  3431.  
  3432.  
  3433. _windows_.PasswordEntryDialog_swigregister(PasswordEntryDialogPtr)
  3434. GetPasswordFromUserPromptStr = cvar.GetPasswordFromUserPromptStr
  3435.  
  3436. class FontData(_core.Object):
  3437.     '''
  3438.     This class holds a variety of information related to font dialogs and
  3439.     is used to transfer settings to and results from a `wx.FontDialog`.
  3440.     '''
  3441.     
  3442.     def __repr__(self):
  3443.         return '<%s.%s; proxy of C++ wxFontData instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  3444.  
  3445.     
  3446.     def __init__(self, *args, **kwargs):
  3447.         '''
  3448.         __init__(self) -> FontData
  3449.  
  3450.         This class holds a variety of information related to font dialogs and
  3451.         is used to transfer settings to and results from a `wx.FontDialog`.
  3452.         '''
  3453.         newobj = _windows_.new_FontData(*args, **kwargs)
  3454.         self.this = newobj.this
  3455.         self.thisown = 1
  3456.         del newobj.thisown
  3457.  
  3458.     
  3459.     def __del__(self, destroy = _windows_.delete_FontData):
  3460.         '''__del__(self)'''
  3461.         
  3462.         try:
  3463.             if self.thisown:
  3464.                 destroy(self)
  3465.         except:
  3466.             pass
  3467.  
  3468.  
  3469.     
  3470.     def EnableEffects(*args, **kwargs):
  3471.         """
  3472.         EnableEffects(self, bool enable)
  3473.  
  3474.         Enables or disables 'effects' under MS Windows only. This refers to
  3475.         the controls for manipulating colour, strikeout and underline
  3476.         properties.  The default value is true.
  3477.         """
  3478.         return _windows_.FontData_EnableEffects(*args, **kwargs)
  3479.  
  3480.     
  3481.     def GetAllowSymbols(*args, **kwargs):
  3482.         '''
  3483.         GetAllowSymbols(self) -> bool
  3484.  
  3485.         Under MS Windows, returns a flag determining whether symbol fonts can
  3486.         be selected. Has no effect on other platforms. The default value is
  3487.         true.
  3488.         '''
  3489.         return _windows_.FontData_GetAllowSymbols(*args, **kwargs)
  3490.  
  3491.     
  3492.     def GetColour(*args, **kwargs):
  3493.         '''
  3494.         GetColour(self) -> Colour
  3495.  
  3496.         Gets the colour associated with the font dialog. The default value is
  3497.         black.
  3498.         '''
  3499.         return _windows_.FontData_GetColour(*args, **kwargs)
  3500.  
  3501.     
  3502.     def GetChosenFont(*args, **kwargs):
  3503.         '''
  3504.         GetChosenFont(self) -> Font
  3505.  
  3506.         Gets the font chosen by the user.
  3507.         '''
  3508.         return _windows_.FontData_GetChosenFont(*args, **kwargs)
  3509.  
  3510.     
  3511.     def GetEnableEffects(*args, **kwargs):
  3512.         """
  3513.         GetEnableEffects(self) -> bool
  3514.  
  3515.         Determines whether 'effects' are enabled under Windows.
  3516.         """
  3517.         return _windows_.FontData_GetEnableEffects(*args, **kwargs)
  3518.  
  3519.     
  3520.     def GetInitialFont(*args, **kwargs):
  3521.         '''
  3522.         GetInitialFont(self) -> Font
  3523.  
  3524.         Gets the font that will be initially used by the font dialog. This
  3525.         should have previously been set by the application.
  3526.         '''
  3527.         return _windows_.FontData_GetInitialFont(*args, **kwargs)
  3528.  
  3529.     
  3530.     def GetShowHelp(*args, **kwargs):
  3531.         '''
  3532.         GetShowHelp(self) -> bool
  3533.  
  3534.         Returns true if the Help button will be shown (Windows only).  The
  3535.         default value is false.
  3536.         '''
  3537.         return _windows_.FontData_GetShowHelp(*args, **kwargs)
  3538.  
  3539.     
  3540.     def SetAllowSymbols(*args, **kwargs):
  3541.         '''
  3542.         SetAllowSymbols(self, bool allowSymbols)
  3543.  
  3544.         Under MS Windows, determines whether symbol fonts can be selected. Has
  3545.         no effect on other platforms.  The default value is true.
  3546.         '''
  3547.         return _windows_.FontData_SetAllowSymbols(*args, **kwargs)
  3548.  
  3549.     
  3550.     def SetChosenFont(*args, **kwargs):
  3551.         '''
  3552.         SetChosenFont(self, Font font)
  3553.  
  3554.         Sets the font that will be returned to the user (normally for internal
  3555.         use only).
  3556.         '''
  3557.         return _windows_.FontData_SetChosenFont(*args, **kwargs)
  3558.  
  3559.     
  3560.     def SetColour(*args, **kwargs):
  3561.         '''
  3562.         SetColour(self, Colour colour)
  3563.  
  3564.         Sets the colour that will be used for the font foreground colour.  The
  3565.         default colour is black.
  3566.         '''
  3567.         return _windows_.FontData_SetColour(*args, **kwargs)
  3568.  
  3569.     
  3570.     def SetInitialFont(*args, **kwargs):
  3571.         '''
  3572.         SetInitialFont(self, Font font)
  3573.  
  3574.         Sets the font that will be initially used by the font dialog.
  3575.         '''
  3576.         return _windows_.FontData_SetInitialFont(*args, **kwargs)
  3577.  
  3578.     
  3579.     def SetRange(*args, **kwargs):
  3580.         '''
  3581.         SetRange(self, int min, int max)
  3582.  
  3583.         Sets the valid range for the font point size (Windows only).  The
  3584.         default is 0, 0 (unrestricted range).
  3585.         '''
  3586.         return _windows_.FontData_SetRange(*args, **kwargs)
  3587.  
  3588.     
  3589.     def SetShowHelp(*args, **kwargs):
  3590.         '''
  3591.         SetShowHelp(self, bool showHelp)
  3592.  
  3593.         Determines whether the Help button will be displayed in the font
  3594.         dialog (Windows only).  The default value is false.
  3595.         '''
  3596.         return _windows_.FontData_SetShowHelp(*args, **kwargs)
  3597.  
  3598.  
  3599.  
  3600. class FontDataPtr(FontData):
  3601.     
  3602.     def __init__(self, this):
  3603.         self.this = this
  3604.         if not hasattr(self, 'thisown'):
  3605.             self.thisown = 0
  3606.         
  3607.         self.__class__ = FontData
  3608.  
  3609.  
  3610. _windows_.FontData_swigregister(FontDataPtr)
  3611.  
  3612. class FontDialog(Dialog):
  3613.     '''
  3614.     wx.FontDialog allows the user to select a system font and its attributes.
  3615.  
  3616.     :see: `wx.FontData`
  3617.  
  3618.     '''
  3619.     
  3620.     def __repr__(self):
  3621.         return '<%s.%s; proxy of C++ wxFontDialog instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  3622.  
  3623.     
  3624.     def __init__(self, *args, **kwargs):
  3625.         '''
  3626.         __init__(self, Window parent, FontData data) -> FontDialog
  3627.  
  3628.         Constructor. Pass a parent window and the `wx.FontData` object to be
  3629.         used to initialize the dialog controls.  Call `ShowModal` to display
  3630.         the dialog.  If ShowModal returns ``wx.ID_OK`` then you can fetch the
  3631.         results with via the `wx.FontData` returned by `GetFontData`.
  3632.         '''
  3633.         newobj = _windows_.new_FontDialog(*args, **kwargs)
  3634.         self.this = newobj.this
  3635.         self.thisown = 1
  3636.         del newobj.thisown
  3637.         self._setOORInfo(self)
  3638.  
  3639.     
  3640.     def GetFontData(*args, **kwargs):
  3641.         '''
  3642.         GetFontData(self) -> FontData
  3643.  
  3644.         Returns a reference to the internal `wx.FontData` used by the
  3645.         wx.FontDialog.
  3646.         '''
  3647.         return _windows_.FontDialog_GetFontData(*args, **kwargs)
  3648.  
  3649.  
  3650.  
  3651. class FontDialogPtr(FontDialog):
  3652.     
  3653.     def __init__(self, this):
  3654.         self.this = this
  3655.         if not hasattr(self, 'thisown'):
  3656.             self.thisown = 0
  3657.         
  3658.         self.__class__ = FontDialog
  3659.  
  3660.  
  3661. _windows_.FontDialog_swigregister(FontDialogPtr)
  3662.  
  3663. class MessageDialog(Dialog):
  3664.     '''
  3665.     This class provides a simple dialog that shows a single or multi-line
  3666.     message, with a choice of OK, Yes, No and/or Cancel buttons.
  3667.     '''
  3668.     
  3669.     def __repr__(self):
  3670.         return '<%s.%s; proxy of C++ wxMessageDialog instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  3671.  
  3672.     
  3673.     def __init__(self, *args, **kwargs):
  3674.         '''
  3675.         __init__(self, Window parent, String message, String caption=MessageBoxCaptionStr, 
  3676.             long style=wxOK|wxCANCEL|wxCENTRE, 
  3677.             Point pos=DefaultPosition) -> MessageDialog
  3678.  
  3679.         Constructor, use `ShowModal` to display the dialog.
  3680.         '''
  3681.         newobj = _windows_.new_MessageDialog(*args, **kwargs)
  3682.         self.this = newobj.this
  3683.         self.thisown = 1
  3684.         del newobj.thisown
  3685.         self._setOORInfo(self)
  3686.  
  3687.  
  3688.  
  3689. class MessageDialogPtr(MessageDialog):
  3690.     
  3691.     def __init__(self, this):
  3692.         self.this = this
  3693.         if not hasattr(self, 'thisown'):
  3694.             self.thisown = 0
  3695.         
  3696.         self.__class__ = MessageDialog
  3697.  
  3698.  
  3699. _windows_.MessageDialog_swigregister(MessageDialogPtr)
  3700.  
  3701. class ProgressDialog(Frame):
  3702.     '''
  3703.     A dialog that shows a short message and a progress bar. Optionally, it
  3704.     can display an ABORT button.
  3705.     '''
  3706.     
  3707.     def __repr__(self):
  3708.         return '<%s.%s; proxy of C++ wxProgressDialog instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  3709.  
  3710.     
  3711.     def __init__(self, *args, **kwargs):
  3712.         '''
  3713.         __init__(self, String title, String message, int maximum=100, Window parent=None, 
  3714.             int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -> ProgressDialog
  3715.  
  3716.         Constructor. Creates the dialog, displays it and disables user input
  3717.         for other windows, or, if wx.PD_APP_MODAL flag is not given, for its
  3718.         parent window only.
  3719.         '''
  3720.         newobj = _windows_.new_ProgressDialog(*args, **kwargs)
  3721.         self.this = newobj.this
  3722.         self.thisown = 1
  3723.         del newobj.thisown
  3724.         self._setOORInfo(self)
  3725.  
  3726.     
  3727.     def Update(*args, **kwargs):
  3728.         '''
  3729.         Update(self, int value, String newmsg=EmptyString) -> bool
  3730.  
  3731.         Updates the dialog, setting the progress bar to the new value and, if
  3732.         given changes the message above it. The value given should be less
  3733.         than or equal to the maximum value given to the constructor and the
  3734.         dialog is closed if it is equal to the maximum.  Returns True unless
  3735.         the Cancel button has been pressed.
  3736.  
  3737.         If false is returned, the application can either immediately destroy
  3738.         the dialog or ask the user for the confirmation and if the abort is
  3739.         not confirmed the dialog may be resumed with Resume function.
  3740.         '''
  3741.         return _windows_.ProgressDialog_Update(*args, **kwargs)
  3742.  
  3743.     
  3744.     def Resume(*args, **kwargs):
  3745.         '''
  3746.         Resume(self)
  3747.  
  3748.         Can be used to continue with the dialog, after the user had chosen to
  3749.         abort.
  3750.         '''
  3751.         return _windows_.ProgressDialog_Resume(*args, **kwargs)
  3752.  
  3753.  
  3754.  
  3755. class ProgressDialogPtr(ProgressDialog):
  3756.     
  3757.     def __init__(self, this):
  3758.         self.this = this
  3759.         if not hasattr(self, 'thisown'):
  3760.             self.thisown = 0
  3761.         
  3762.         self.__class__ = ProgressDialog
  3763.  
  3764.  
  3765. _windows_.ProgressDialog_swigregister(ProgressDialogPtr)
  3766. FR_DOWN = _windows_.FR_DOWN
  3767. FR_WHOLEWORD = _windows_.FR_WHOLEWORD
  3768. FR_MATCHCASE = _windows_.FR_MATCHCASE
  3769. FR_REPLACEDIALOG = _windows_.FR_REPLACEDIALOG
  3770. FR_NOUPDOWN = _windows_.FR_NOUPDOWN
  3771. FR_NOMATCHCASE = _windows_.FR_NOMATCHCASE
  3772. FR_NOWHOLEWORD = _windows_.FR_NOWHOLEWORD
  3773. wxEVT_COMMAND_FIND = _windows_.wxEVT_COMMAND_FIND
  3774. wxEVT_COMMAND_FIND_NEXT = _windows_.wxEVT_COMMAND_FIND_NEXT
  3775. wxEVT_COMMAND_FIND_REPLACE = _windows_.wxEVT_COMMAND_FIND_REPLACE
  3776. wxEVT_COMMAND_FIND_REPLACE_ALL = _windows_.wxEVT_COMMAND_FIND_REPLACE_ALL
  3777. wxEVT_COMMAND_FIND_CLOSE = _windows_.wxEVT_COMMAND_FIND_CLOSE
  3778. EVT_FIND = wx.PyEventBinder(wxEVT_COMMAND_FIND, 1)
  3779. EVT_FIND_NEXT = wx.PyEventBinder(wxEVT_COMMAND_FIND_NEXT, 1)
  3780. EVT_FIND_REPLACE = wx.PyEventBinder(wxEVT_COMMAND_FIND_REPLACE, 1)
  3781. EVT_FIND_REPLACE_ALL = wx.PyEventBinder(wxEVT_COMMAND_FIND_REPLACE_ALL, 1)
  3782. EVT_FIND_CLOSE = wx.PyEventBinder(wxEVT_COMMAND_FIND_CLOSE, 1)
  3783. EVT_COMMAND_FIND = EVT_FIND
  3784. EVT_COMMAND_FIND_NEXT = EVT_FIND_NEXT
  3785. EVT_COMMAND_FIND_REPLACE = EVT_FIND_REPLACE
  3786. EVT_COMMAND_FIND_REPLACE_ALL = EVT_FIND_REPLACE_ALL
  3787. EVT_COMMAND_FIND_CLOSE = EVT_FIND_CLOSE
  3788.  
  3789. class FindDialogEvent(_core.CommandEvent):
  3790.     '''Events for the FindReplaceDialog'''
  3791.     
  3792.     def __repr__(self):
  3793.         return '<%s.%s; proxy of C++ wxFindDialogEvent instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  3794.  
  3795.     
  3796.     def __init__(self, *args, **kwargs):
  3797.         '''
  3798.         __init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> FindDialogEvent
  3799.  
  3800.         Events for the FindReplaceDialog
  3801.         '''
  3802.         newobj = _windows_.new_FindDialogEvent(*args, **kwargs)
  3803.         self.this = newobj.this
  3804.         self.thisown = 1
  3805.         del newobj.thisown
  3806.  
  3807.     
  3808.     def GetFlags(*args, **kwargs):
  3809.         '''
  3810.         GetFlags(self) -> int
  3811.  
  3812.         Get the currently selected flags: this is the combination of
  3813.         wx.FR_DOWN, wx.FR_WHOLEWORD and wx.FR_MATCHCASE flags.
  3814.         '''
  3815.         return _windows_.FindDialogEvent_GetFlags(*args, **kwargs)
  3816.  
  3817.     
  3818.     def GetFindString(*args, **kwargs):
  3819.         '''
  3820.         GetFindString(self) -> String
  3821.  
  3822.         Return the string to find (never empty).
  3823.         '''
  3824.         return _windows_.FindDialogEvent_GetFindString(*args, **kwargs)
  3825.  
  3826.     
  3827.     def GetReplaceString(*args, **kwargs):
  3828.         '''
  3829.         GetReplaceString(self) -> String
  3830.  
  3831.         Return the string to replace the search string with (only for replace
  3832.         and replace all events).
  3833.         '''
  3834.         return _windows_.FindDialogEvent_GetReplaceString(*args, **kwargs)
  3835.  
  3836.     
  3837.     def GetDialog(*args, **kwargs):
  3838.         '''
  3839.         GetDialog(self) -> FindReplaceDialog
  3840.  
  3841.         Return the pointer to the dialog which generated this event.
  3842.         '''
  3843.         return _windows_.FindDialogEvent_GetDialog(*args, **kwargs)
  3844.  
  3845.     
  3846.     def SetFlags(*args, **kwargs):
  3847.         '''SetFlags(self, int flags)'''
  3848.         return _windows_.FindDialogEvent_SetFlags(*args, **kwargs)
  3849.  
  3850.     
  3851.     def SetFindString(*args, **kwargs):
  3852.         '''SetFindString(self, String str)'''
  3853.         return _windows_.FindDialogEvent_SetFindString(*args, **kwargs)
  3854.  
  3855.     
  3856.     def SetReplaceString(*args, **kwargs):
  3857.         '''SetReplaceString(self, String str)'''
  3858.         return _windows_.FindDialogEvent_SetReplaceString(*args, **kwargs)
  3859.  
  3860.  
  3861.  
  3862. class FindDialogEventPtr(FindDialogEvent):
  3863.     
  3864.     def __init__(self, this):
  3865.         self.this = this
  3866.         if not hasattr(self, 'thisown'):
  3867.             self.thisown = 0
  3868.         
  3869.         self.__class__ = FindDialogEvent
  3870.  
  3871.  
  3872. _windows_.FindDialogEvent_swigregister(FindDialogEventPtr)
  3873.  
  3874. class FindReplaceData(_core.Object):
  3875.     '''
  3876.     wx.FindReplaceData holds the data for wx.FindReplaceDialog. It is used
  3877.     to initialize the dialog with the default values and will keep the
  3878.     last values from the dialog when it is closed. It is also updated each
  3879.     time a `wx.FindDialogEvent` is generated so instead of using the
  3880.     `wx.FindDialogEvent` methods you can also directly query this object.
  3881.  
  3882.     Note that all SetXXX() methods may only be called before showing the
  3883.     dialog and calling them has no effect later.
  3884.     '''
  3885.     
  3886.     def __repr__(self):
  3887.         return '<%s.%s; proxy of C++ wxFindReplaceData instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  3888.  
  3889.     
  3890.     def __init__(self, *args, **kwargs):
  3891.         '''
  3892.         __init__(self, int flags=0) -> FindReplaceData
  3893.  
  3894.         Constuctor initializes the flags to default value (0).
  3895.         '''
  3896.         newobj = _windows_.new_FindReplaceData(*args, **kwargs)
  3897.         self.this = newobj.this
  3898.         self.thisown = 1
  3899.         del newobj.thisown
  3900.  
  3901.     
  3902.     def __del__(self, destroy = _windows_.delete_FindReplaceData):
  3903.         '''__del__(self)'''
  3904.         
  3905.         try:
  3906.             if self.thisown:
  3907.                 destroy(self)
  3908.         except:
  3909.             pass
  3910.  
  3911.  
  3912.     
  3913.     def GetFindString(*args, **kwargs):
  3914.         '''
  3915.         GetFindString(self) -> String
  3916.  
  3917.         Get the string to find.
  3918.         '''
  3919.         return _windows_.FindReplaceData_GetFindString(*args, **kwargs)
  3920.  
  3921.     
  3922.     def GetReplaceString(*args, **kwargs):
  3923.         '''
  3924.         GetReplaceString(self) -> String
  3925.  
  3926.         Get the replacement string.
  3927.         '''
  3928.         return _windows_.FindReplaceData_GetReplaceString(*args, **kwargs)
  3929.  
  3930.     
  3931.     def GetFlags(*args, **kwargs):
  3932.         '''
  3933.         GetFlags(self) -> int
  3934.  
  3935.         Get the combination of flag values.
  3936.         '''
  3937.         return _windows_.FindReplaceData_GetFlags(*args, **kwargs)
  3938.  
  3939.     
  3940.     def SetFlags(*args, **kwargs):
  3941.         '''
  3942.         SetFlags(self, int flags)
  3943.  
  3944.         Set the flags to use to initialize the controls of the dialog.
  3945.         '''
  3946.         return _windows_.FindReplaceData_SetFlags(*args, **kwargs)
  3947.  
  3948.     
  3949.     def SetFindString(*args, **kwargs):
  3950.         '''
  3951.         SetFindString(self, String str)
  3952.  
  3953.         Set the string to find (used as initial value by the dialog).
  3954.         '''
  3955.         return _windows_.FindReplaceData_SetFindString(*args, **kwargs)
  3956.  
  3957.     
  3958.     def SetReplaceString(*args, **kwargs):
  3959.         '''
  3960.         SetReplaceString(self, String str)
  3961.  
  3962.         Set the replacement string (used as initial value by the dialog).
  3963.         '''
  3964.         return _windows_.FindReplaceData_SetReplaceString(*args, **kwargs)
  3965.  
  3966.  
  3967.  
  3968. class FindReplaceDataPtr(FindReplaceData):
  3969.     
  3970.     def __init__(self, this):
  3971.         self.this = this
  3972.         if not hasattr(self, 'thisown'):
  3973.             self.thisown = 0
  3974.         
  3975.         self.__class__ = FindReplaceData
  3976.  
  3977.  
  3978. _windows_.FindReplaceData_swigregister(FindReplaceDataPtr)
  3979.  
  3980. class FindReplaceDialog(Dialog):
  3981.     '''
  3982.     wx.FindReplaceDialog is a standard modeless dialog which is used to
  3983.     allow the user to search for some text (and possibly replace it with
  3984.     something else). The actual searching is supposed to be done in the
  3985.     owner window which is the parent of this dialog. Note that it means
  3986.     that unlike for the other standard dialogs this one must have a parent
  3987.     window. Also note that there is no way to use this dialog in a modal
  3988.     way; it is always, by design and implementation, modeless.
  3989.     '''
  3990.     
  3991.     def __repr__(self):
  3992.         return '<%s.%s; proxy of C++ wxFindReplaceDialog instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  3993.  
  3994.     
  3995.     def __init__(self, *args, **kwargs):
  3996.         '''
  3997.         __init__(self, Window parent, FindReplaceData data, String title, 
  3998.             int style=0) -> FindReplaceDialog
  3999.  
  4000.         Create a FindReplaceDialog.  The parent and data parameters must be
  4001.         non-None.  Use Show to display the dialog.
  4002.         '''
  4003.         newobj = _windows_.new_FindReplaceDialog(*args, **kwargs)
  4004.         self.this = newobj.this
  4005.         self.thisown = 1
  4006.         del newobj.thisown
  4007.         self._setOORInfo(self)
  4008.  
  4009.     
  4010.     def Create(*args, **kwargs):
  4011.         '''
  4012.         Create(self, Window parent, FindReplaceData data, String title, 
  4013.             int style=0) -> bool
  4014.  
  4015.         Create the dialog, for 2-phase create.
  4016.         '''
  4017.         return _windows_.FindReplaceDialog_Create(*args, **kwargs)
  4018.  
  4019.     
  4020.     def GetData(*args, **kwargs):
  4021.         '''
  4022.         GetData(self) -> FindReplaceData
  4023.  
  4024.         Get the FindReplaceData object used by this dialog.
  4025.         '''
  4026.         return _windows_.FindReplaceDialog_GetData(*args, **kwargs)
  4027.  
  4028.     
  4029.     def SetData(*args, **kwargs):
  4030.         '''
  4031.         SetData(self, FindReplaceData data)
  4032.  
  4033.         Set the FindReplaceData object used by this dialog.
  4034.         '''
  4035.         return _windows_.FindReplaceDialog_SetData(*args, **kwargs)
  4036.  
  4037.  
  4038.  
  4039. class FindReplaceDialogPtr(FindReplaceDialog):
  4040.     
  4041.     def __init__(self, this):
  4042.         self.this = this
  4043.         if not hasattr(self, 'thisown'):
  4044.             self.thisown = 0
  4045.         
  4046.         self.__class__ = FindReplaceDialog
  4047.  
  4048.  
  4049. _windows_.FindReplaceDialog_swigregister(FindReplaceDialogPtr)
  4050.  
  4051. def PreFindReplaceDialog(*args, **kwargs):
  4052.     '''
  4053.     PreFindReplaceDialog() -> FindReplaceDialog
  4054.  
  4055.     Precreate a FindReplaceDialog for 2-phase creation
  4056.     '''
  4057.     val = _windows_.new_PreFindReplaceDialog(*args, **kwargs)
  4058.     val.thisown = 1
  4059.     return val
  4060.  
  4061. IDM_WINDOWTILE = _windows_.IDM_WINDOWTILE
  4062. IDM_WINDOWTILEHOR = _windows_.IDM_WINDOWTILEHOR
  4063. IDM_WINDOWCASCADE = _windows_.IDM_WINDOWCASCADE
  4064. IDM_WINDOWICONS = _windows_.IDM_WINDOWICONS
  4065. IDM_WINDOWNEXT = _windows_.IDM_WINDOWNEXT
  4066. IDM_WINDOWTILEVERT = _windows_.IDM_WINDOWTILEVERT
  4067. IDM_WINDOWPREV = _windows_.IDM_WINDOWPREV
  4068. FIRST_MDI_CHILD = _windows_.FIRST_MDI_CHILD
  4069. LAST_MDI_CHILD = _windows_.LAST_MDI_CHILD
  4070.  
  4071. class MDIParentFrame(Frame):
  4072.     '''Proxy of C++ MDIParentFrame class'''
  4073.     
  4074.     def __repr__(self):
  4075.         return '<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  4076.  
  4077.     
  4078.     def __init__(self, *args, **kwargs):
  4079.         '''
  4080.         __init__(self, Window parent, int id=-1, String title=EmptyString, 
  4081.             Point pos=DefaultPosition, Size size=DefaultSize, 
  4082.             long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL, 
  4083.             String name=FrameNameStr) -> MDIParentFrame
  4084.         '''
  4085.         newobj = _windows_.new_MDIParentFrame(*args, **kwargs)
  4086.         self.this = newobj.this
  4087.         self.thisown = 1
  4088.         del newobj.thisown
  4089.         self._setOORInfo(self)
  4090.  
  4091.     
  4092.     def Create(*args, **kwargs):
  4093.         '''
  4094.         Create(self, Window parent, int id=-1, String title=EmptyString, 
  4095.             Point pos=DefaultPosition, Size size=DefaultSize, 
  4096.             long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL, 
  4097.             String name=FrameNameStr) -> bool
  4098.         '''
  4099.         return _windows_.MDIParentFrame_Create(*args, **kwargs)
  4100.  
  4101.     
  4102.     def ActivateNext(*args, **kwargs):
  4103.         '''ActivateNext(self)'''
  4104.         return _windows_.MDIParentFrame_ActivateNext(*args, **kwargs)
  4105.  
  4106.     
  4107.     def ActivatePrevious(*args, **kwargs):
  4108.         '''ActivatePrevious(self)'''
  4109.         return _windows_.MDIParentFrame_ActivatePrevious(*args, **kwargs)
  4110.  
  4111.     
  4112.     def ArrangeIcons(*args, **kwargs):
  4113.         '''ArrangeIcons(self)'''
  4114.         return _windows_.MDIParentFrame_ArrangeIcons(*args, **kwargs)
  4115.  
  4116.     
  4117.     def Cascade(*args, **kwargs):
  4118.         '''Cascade(self)'''
  4119.         return _windows_.MDIParentFrame_Cascade(*args, **kwargs)
  4120.  
  4121.     
  4122.     def GetActiveChild(*args, **kwargs):
  4123.         '''GetActiveChild(self) -> MDIChildFrame'''
  4124.         return _windows_.MDIParentFrame_GetActiveChild(*args, **kwargs)
  4125.  
  4126.     
  4127.     def GetClientWindow(*args, **kwargs):
  4128.         '''GetClientWindow(self) -> MDIClientWindow'''
  4129.         return _windows_.MDIParentFrame_GetClientWindow(*args, **kwargs)
  4130.  
  4131.     
  4132.     def GetToolBar(*args, **kwargs):
  4133.         '''GetToolBar(self) -> Window'''
  4134.         return _windows_.MDIParentFrame_GetToolBar(*args, **kwargs)
  4135.  
  4136.     
  4137.     def GetWindowMenu(*args, **kwargs):
  4138.         '''GetWindowMenu(self) -> Menu'''
  4139.         return _windows_.MDIParentFrame_GetWindowMenu(*args, **kwargs)
  4140.  
  4141.     
  4142.     def SetWindowMenu(*args, **kwargs):
  4143.         '''SetWindowMenu(self, Menu menu)'''
  4144.         return _windows_.MDIParentFrame_SetWindowMenu(*args, **kwargs)
  4145.  
  4146.     
  4147.     def SetToolBar(*args, **kwargs):
  4148.         '''SetToolBar(self, wxToolBar toolbar)'''
  4149.         return _windows_.MDIParentFrame_SetToolBar(*args, **kwargs)
  4150.  
  4151.     
  4152.     def Tile(*args, **kwargs):
  4153.         '''Tile(self, int orient=HORIZONTAL)'''
  4154.         return _windows_.MDIParentFrame_Tile(*args, **kwargs)
  4155.  
  4156.  
  4157.  
  4158. class MDIParentFramePtr(MDIParentFrame):
  4159.     
  4160.     def __init__(self, this):
  4161.         self.this = this
  4162.         if not hasattr(self, 'thisown'):
  4163.             self.thisown = 0
  4164.         
  4165.         self.__class__ = MDIParentFrame
  4166.  
  4167.  
  4168. _windows_.MDIParentFrame_swigregister(MDIParentFramePtr)
  4169.  
  4170. def PreMDIParentFrame(*args, **kwargs):
  4171.     '''PreMDIParentFrame() -> MDIParentFrame'''
  4172.     val = _windows_.new_PreMDIParentFrame(*args, **kwargs)
  4173.     val.thisown = 1
  4174.     return val
  4175.  
  4176.  
  4177. class MDIChildFrame(Frame):
  4178.     '''Proxy of C++ MDIChildFrame class'''
  4179.     
  4180.     def __repr__(self):
  4181.         return '<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  4182.  
  4183.     
  4184.     def __init__(self, *args, **kwargs):
  4185.         '''
  4186.         __init__(self, MDIParentFrame parent, int id=-1, String title=EmptyString, 
  4187.             Point pos=DefaultPosition, Size size=DefaultSize, 
  4188.             long style=DEFAULT_FRAME_STYLE, 
  4189.             String name=FrameNameStr) -> MDIChildFrame
  4190.         '''
  4191.         newobj = _windows_.new_MDIChildFrame(*args, **kwargs)
  4192.         self.this = newobj.this
  4193.         self.thisown = 1
  4194.         del newobj.thisown
  4195.         self._setOORInfo(self)
  4196.  
  4197.     
  4198.     def Create(*args, **kwargs):
  4199.         '''
  4200.         Create(self, MDIParentFrame parent, int id=-1, String title=EmptyString, 
  4201.             Point pos=DefaultPosition, Size size=DefaultSize, 
  4202.             long style=DEFAULT_FRAME_STYLE, 
  4203.             String name=FrameNameStr) -> bool
  4204.         '''
  4205.         return _windows_.MDIChildFrame_Create(*args, **kwargs)
  4206.  
  4207.     
  4208.     def Activate(*args, **kwargs):
  4209.         '''Activate(self)'''
  4210.         return _windows_.MDIChildFrame_Activate(*args, **kwargs)
  4211.  
  4212.     
  4213.     def Maximize(*args, **kwargs):
  4214.         '''Maximize(self, bool maximize=True)'''
  4215.         return _windows_.MDIChildFrame_Maximize(*args, **kwargs)
  4216.  
  4217.     
  4218.     def Restore(*args, **kwargs):
  4219.         '''Restore(self)'''
  4220.         return _windows_.MDIChildFrame_Restore(*args, **kwargs)
  4221.  
  4222.  
  4223.  
  4224. class MDIChildFramePtr(MDIChildFrame):
  4225.     
  4226.     def __init__(self, this):
  4227.         self.this = this
  4228.         if not hasattr(self, 'thisown'):
  4229.             self.thisown = 0
  4230.         
  4231.         self.__class__ = MDIChildFrame
  4232.  
  4233.  
  4234. _windows_.MDIChildFrame_swigregister(MDIChildFramePtr)
  4235.  
  4236. def PreMDIChildFrame(*args, **kwargs):
  4237.     '''PreMDIChildFrame() -> MDIChildFrame'''
  4238.     val = _windows_.new_PreMDIChildFrame(*args, **kwargs)
  4239.     val.thisown = 1
  4240.     return val
  4241.  
  4242.  
  4243. class MDIClientWindow(_core.Window):
  4244.     '''Proxy of C++ MDIClientWindow class'''
  4245.     
  4246.     def __repr__(self):
  4247.         return '<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  4248.  
  4249.     
  4250.     def __init__(self, *args, **kwargs):
  4251.         '''__init__(self, MDIParentFrame parent, long style=0) -> MDIClientWindow'''
  4252.         newobj = _windows_.new_MDIClientWindow(*args, **kwargs)
  4253.         self.this = newobj.this
  4254.         self.thisown = 1
  4255.         del newobj.thisown
  4256.         self._setOORInfo(self)
  4257.  
  4258.     
  4259.     def Create(*args, **kwargs):
  4260.         '''Create(self, MDIParentFrame parent, long style=0) -> bool'''
  4261.         return _windows_.MDIClientWindow_Create(*args, **kwargs)
  4262.  
  4263.  
  4264.  
  4265. class MDIClientWindowPtr(MDIClientWindow):
  4266.     
  4267.     def __init__(self, this):
  4268.         self.this = this
  4269.         if not hasattr(self, 'thisown'):
  4270.             self.thisown = 0
  4271.         
  4272.         self.__class__ = MDIClientWindow
  4273.  
  4274.  
  4275. _windows_.MDIClientWindow_swigregister(MDIClientWindowPtr)
  4276.  
  4277. def PreMDIClientWindow(*args, **kwargs):
  4278.     '''PreMDIClientWindow() -> MDIClientWindow'''
  4279.     val = _windows_.new_PreMDIClientWindow(*args, **kwargs)
  4280.     val.thisown = 1
  4281.     return val
  4282.  
  4283.  
  4284. class PyWindow(_core.Window):
  4285.     '''Proxy of C++ PyWindow class'''
  4286.     
  4287.     def __repr__(self):
  4288.         return '<%s.%s; proxy of C++ wxPyWindow instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  4289.  
  4290.     
  4291.     def __init__(self, *args, **kwargs):
  4292.         '''
  4293.         __init__(self, Window parent, int id=-1, Point pos=DefaultPosition, 
  4294.             Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyWindow
  4295.         '''
  4296.         newobj = _windows_.new_PyWindow(*args, **kwargs)
  4297.         self.this = newobj.this
  4298.         self.thisown = 1
  4299.         del newobj.thisown
  4300.         self._setOORInfo(self)
  4301.         self._setCallbackInfo(self, PyWindow)
  4302.  
  4303.     
  4304.     def _setCallbackInfo(*args, **kwargs):
  4305.         '''_setCallbackInfo(self, PyObject self, PyObject _class)'''
  4306.         return _windows_.PyWindow__setCallbackInfo(*args, **kwargs)
  4307.  
  4308.     
  4309.     def SetBestSize(*args, **kwargs):
  4310.         '''SetBestSize(self, Size size)'''
  4311.         return _windows_.PyWindow_SetBestSize(*args, **kwargs)
  4312.  
  4313.     
  4314.     def DoEraseBackground(*args, **kwargs):
  4315.         '''DoEraseBackground(self, DC dc) -> bool'''
  4316.         return _windows_.PyWindow_DoEraseBackground(*args, **kwargs)
  4317.  
  4318.     
  4319.     def base_DoMoveWindow(*args, **kwargs):
  4320.         '''base_DoMoveWindow(self, int x, int y, int width, int height)'''
  4321.         return _windows_.PyWindow_base_DoMoveWindow(*args, **kwargs)
  4322.  
  4323.     
  4324.     def base_DoSetSize(*args, **kwargs):
  4325.         '''base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)'''
  4326.         return _windows_.PyWindow_base_DoSetSize(*args, **kwargs)
  4327.  
  4328.     
  4329.     def base_DoSetClientSize(*args, **kwargs):
  4330.         '''base_DoSetClientSize(self, int width, int height)'''
  4331.         return _windows_.PyWindow_base_DoSetClientSize(*args, **kwargs)
  4332.  
  4333.     
  4334.     def base_DoSetVirtualSize(*args, **kwargs):
  4335.         '''base_DoSetVirtualSize(self, int x, int y)'''
  4336.         return _windows_.PyWindow_base_DoSetVirtualSize(*args, **kwargs)
  4337.  
  4338.     
  4339.     def base_DoGetSize(*args, **kwargs):
  4340.         '''base_DoGetSize() -> (width, height)'''
  4341.         return _windows_.PyWindow_base_DoGetSize(*args, **kwargs)
  4342.  
  4343.     
  4344.     def base_DoGetClientSize(*args, **kwargs):
  4345.         '''base_DoGetClientSize() -> (width, height)'''
  4346.         return _windows_.PyWindow_base_DoGetClientSize(*args, **kwargs)
  4347.  
  4348.     
  4349.     def base_DoGetPosition(*args, **kwargs):
  4350.         '''base_DoGetPosition() -> (x,y)'''
  4351.         return _windows_.PyWindow_base_DoGetPosition(*args, **kwargs)
  4352.  
  4353.     
  4354.     def base_DoGetVirtualSize(*args, **kwargs):
  4355.         '''base_DoGetVirtualSize(self) -> Size'''
  4356.         return _windows_.PyWindow_base_DoGetVirtualSize(*args, **kwargs)
  4357.  
  4358.     
  4359.     def base_DoGetBestSize(*args, **kwargs):
  4360.         '''base_DoGetBestSize(self) -> Size'''
  4361.         return _windows_.PyWindow_base_DoGetBestSize(*args, **kwargs)
  4362.  
  4363.     
  4364.     def base_InitDialog(*args, **kwargs):
  4365.         '''base_InitDialog(self)'''
  4366.         return _windows_.PyWindow_base_InitDialog(*args, **kwargs)
  4367.  
  4368.     
  4369.     def base_TransferDataToWindow(*args, **kwargs):
  4370.         '''base_TransferDataToWindow(self) -> bool'''
  4371.         return _windows_.PyWindow_base_TransferDataToWindow(*args, **kwargs)
  4372.  
  4373.     
  4374.     def base_TransferDataFromWindow(*args, **kwargs):
  4375.         '''base_TransferDataFromWindow(self) -> bool'''
  4376.         return _windows_.PyWindow_base_TransferDataFromWindow(*args, **kwargs)
  4377.  
  4378.     
  4379.     def base_Validate(*args, **kwargs):
  4380.         '''base_Validate(self) -> bool'''
  4381.         return _windows_.PyWindow_base_Validate(*args, **kwargs)
  4382.  
  4383.     
  4384.     def base_AcceptsFocus(*args, **kwargs):
  4385.         '''base_AcceptsFocus(self) -> bool'''
  4386.         return _windows_.PyWindow_base_AcceptsFocus(*args, **kwargs)
  4387.  
  4388.     
  4389.     def base_AcceptsFocusFromKeyboard(*args, **kwargs):
  4390.         '''base_AcceptsFocusFromKeyboard(self) -> bool'''
  4391.         return _windows_.PyWindow_base_AcceptsFocusFromKeyboard(*args, **kwargs)
  4392.  
  4393.     
  4394.     def base_GetMaxSize(*args, **kwargs):
  4395.         '''base_GetMaxSize(self) -> Size'''
  4396.         return _windows_.PyWindow_base_GetMaxSize(*args, **kwargs)
  4397.  
  4398.     
  4399.     def base_AddChild(*args, **kwargs):
  4400.         '''base_AddChild(self, Window child)'''
  4401.         return _windows_.PyWindow_base_AddChild(*args, **kwargs)
  4402.  
  4403.     
  4404.     def base_RemoveChild(*args, **kwargs):
  4405.         '''base_RemoveChild(self, Window child)'''
  4406.         return _windows_.PyWindow_base_RemoveChild(*args, **kwargs)
  4407.  
  4408.     
  4409.     def base_ShouldInheritColours(*args, **kwargs):
  4410.         '''base_ShouldInheritColours(self) -> bool'''
  4411.         return _windows_.PyWindow_base_ShouldInheritColours(*args, **kwargs)
  4412.  
  4413.     
  4414.     def base_GetDefaultAttributes(*args, **kwargs):
  4415.         '''base_GetDefaultAttributes(self) -> VisualAttributes'''
  4416.         return _windows_.PyWindow_base_GetDefaultAttributes(*args, **kwargs)
  4417.  
  4418.     
  4419.     def base_OnInternalIdle(*args, **kwargs):
  4420.         '''base_OnInternalIdle(self)'''
  4421.         return _windows_.PyWindow_base_OnInternalIdle(*args, **kwargs)
  4422.  
  4423.  
  4424.  
  4425. class PyWindowPtr(PyWindow):
  4426.     
  4427.     def __init__(self, this):
  4428.         self.this = this
  4429.         if not hasattr(self, 'thisown'):
  4430.             self.thisown = 0
  4431.         
  4432.         self.__class__ = PyWindow
  4433.  
  4434.  
  4435. _windows_.PyWindow_swigregister(PyWindowPtr)
  4436.  
  4437. def PrePyWindow(*args, **kwargs):
  4438.     '''PrePyWindow() -> PyWindow'''
  4439.     val = _windows_.new_PrePyWindow(*args, **kwargs)
  4440.     val.thisown = 1
  4441.     return val
  4442.  
  4443.  
  4444. class PyPanel(Panel):
  4445.     '''Proxy of C++ PyPanel class'''
  4446.     
  4447.     def __repr__(self):
  4448.         return '<%s.%s; proxy of C++ wxPyPanel instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  4449.  
  4450.     
  4451.     def __init__(self, *args, **kwargs):
  4452.         '''
  4453.         __init__(self, Window parent, int id=-1, Point pos=DefaultPosition, 
  4454.             Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyPanel
  4455.         '''
  4456.         newobj = _windows_.new_PyPanel(*args, **kwargs)
  4457.         self.this = newobj.this
  4458.         self.thisown = 1
  4459.         del newobj.thisown
  4460.         self._setOORInfo(self)
  4461.         self._setCallbackInfo(self, PyPanel)
  4462.  
  4463.     
  4464.     def _setCallbackInfo(*args, **kwargs):
  4465.         '''_setCallbackInfo(self, PyObject self, PyObject _class)'''
  4466.         return _windows_.PyPanel__setCallbackInfo(*args, **kwargs)
  4467.  
  4468.     
  4469.     def SetBestSize(*args, **kwargs):
  4470.         '''SetBestSize(self, Size size)'''
  4471.         return _windows_.PyPanel_SetBestSize(*args, **kwargs)
  4472.  
  4473.     
  4474.     def DoEraseBackground(*args, **kwargs):
  4475.         '''DoEraseBackground(self, DC dc) -> bool'''
  4476.         return _windows_.PyPanel_DoEraseBackground(*args, **kwargs)
  4477.  
  4478.     
  4479.     def base_DoMoveWindow(*args, **kwargs):
  4480.         '''base_DoMoveWindow(self, int x, int y, int width, int height)'''
  4481.         return _windows_.PyPanel_base_DoMoveWindow(*args, **kwargs)
  4482.  
  4483.     
  4484.     def base_DoSetSize(*args, **kwargs):
  4485.         '''base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)'''
  4486.         return _windows_.PyPanel_base_DoSetSize(*args, **kwargs)
  4487.  
  4488.     
  4489.     def base_DoSetClientSize(*args, **kwargs):
  4490.         '''base_DoSetClientSize(self, int width, int height)'''
  4491.         return _windows_.PyPanel_base_DoSetClientSize(*args, **kwargs)
  4492.  
  4493.     
  4494.     def base_DoSetVirtualSize(*args, **kwargs):
  4495.         '''base_DoSetVirtualSize(self, int x, int y)'''
  4496.         return _windows_.PyPanel_base_DoSetVirtualSize(*args, **kwargs)
  4497.  
  4498.     
  4499.     def base_DoGetSize(*args, **kwargs):
  4500.         '''base_DoGetSize() -> (width, height)'''
  4501.         return _windows_.PyPanel_base_DoGetSize(*args, **kwargs)
  4502.  
  4503.     
  4504.     def base_DoGetClientSize(*args, **kwargs):
  4505.         '''base_DoGetClientSize() -> (width, height)'''
  4506.         return _windows_.PyPanel_base_DoGetClientSize(*args, **kwargs)
  4507.  
  4508.     
  4509.     def base_DoGetPosition(*args, **kwargs):
  4510.         '''base_DoGetPosition() -> (x,y)'''
  4511.         return _windows_.PyPanel_base_DoGetPosition(*args, **kwargs)
  4512.  
  4513.     
  4514.     def base_DoGetVirtualSize(*args, **kwargs):
  4515.         '''base_DoGetVirtualSize(self) -> Size'''
  4516.         return _windows_.PyPanel_base_DoGetVirtualSize(*args, **kwargs)
  4517.  
  4518.     
  4519.     def base_DoGetBestSize(*args, **kwargs):
  4520.         '''base_DoGetBestSize(self) -> Size'''
  4521.         return _windows_.PyPanel_base_DoGetBestSize(*args, **kwargs)
  4522.  
  4523.     
  4524.     def base_InitDialog(*args, **kwargs):
  4525.         '''base_InitDialog(self)'''
  4526.         return _windows_.PyPanel_base_InitDialog(*args, **kwargs)
  4527.  
  4528.     
  4529.     def base_TransferDataToWindow(*args, **kwargs):
  4530.         '''base_TransferDataToWindow(self) -> bool'''
  4531.         return _windows_.PyPanel_base_TransferDataToWindow(*args, **kwargs)
  4532.  
  4533.     
  4534.     def base_TransferDataFromWindow(*args, **kwargs):
  4535.         '''base_TransferDataFromWindow(self) -> bool'''
  4536.         return _windows_.PyPanel_base_TransferDataFromWindow(*args, **kwargs)
  4537.  
  4538.     
  4539.     def base_Validate(*args, **kwargs):
  4540.         '''base_Validate(self) -> bool'''
  4541.         return _windows_.PyPanel_base_Validate(*args, **kwargs)
  4542.  
  4543.     
  4544.     def base_AcceptsFocus(*args, **kwargs):
  4545.         '''base_AcceptsFocus(self) -> bool'''
  4546.         return _windows_.PyPanel_base_AcceptsFocus(*args, **kwargs)
  4547.  
  4548.     
  4549.     def base_AcceptsFocusFromKeyboard(*args, **kwargs):
  4550.         '''base_AcceptsFocusFromKeyboard(self) -> bool'''
  4551.         return _windows_.PyPanel_base_AcceptsFocusFromKeyboard(*args, **kwargs)
  4552.  
  4553.     
  4554.     def base_GetMaxSize(*args, **kwargs):
  4555.         '''base_GetMaxSize(self) -> Size'''
  4556.         return _windows_.PyPanel_base_GetMaxSize(*args, **kwargs)
  4557.  
  4558.     
  4559.     def base_AddChild(*args, **kwargs):
  4560.         '''base_AddChild(self, Window child)'''
  4561.         return _windows_.PyPanel_base_AddChild(*args, **kwargs)
  4562.  
  4563.     
  4564.     def base_RemoveChild(*args, **kwargs):
  4565.         '''base_RemoveChild(self, Window child)'''
  4566.         return _windows_.PyPanel_base_RemoveChild(*args, **kwargs)
  4567.  
  4568.     
  4569.     def base_ShouldInheritColours(*args, **kwargs):
  4570.         '''base_ShouldInheritColours(self) -> bool'''
  4571.         return _windows_.PyPanel_base_ShouldInheritColours(*args, **kwargs)
  4572.  
  4573.     
  4574.     def base_GetDefaultAttributes(*args, **kwargs):
  4575.         '''base_GetDefaultAttributes(self) -> VisualAttributes'''
  4576.         return _windows_.PyPanel_base_GetDefaultAttributes(*args, **kwargs)
  4577.  
  4578.     
  4579.     def base_OnInternalIdle(*args, **kwargs):
  4580.         '''base_OnInternalIdle(self)'''
  4581.         return _windows_.PyPanel_base_OnInternalIdle(*args, **kwargs)
  4582.  
  4583.  
  4584.  
  4585. class PyPanelPtr(PyPanel):
  4586.     
  4587.     def __init__(self, this):
  4588.         self.this = this
  4589.         if not hasattr(self, 'thisown'):
  4590.             self.thisown = 0
  4591.         
  4592.         self.__class__ = PyPanel
  4593.  
  4594.  
  4595. _windows_.PyPanel_swigregister(PyPanelPtr)
  4596.  
  4597. def PrePyPanel(*args, **kwargs):
  4598.     '''PrePyPanel() -> PyPanel'''
  4599.     val = _windows_.new_PrePyPanel(*args, **kwargs)
  4600.     val.thisown = 1
  4601.     return val
  4602.  
  4603.  
  4604. class PyScrolledWindow(ScrolledWindow):
  4605.     '''Proxy of C++ PyScrolledWindow class'''
  4606.     
  4607.     def __repr__(self):
  4608.         return '<%s.%s; proxy of C++ wxPyScrolledWindow instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  4609.  
  4610.     
  4611.     def __init__(self, *args, **kwargs):
  4612.         '''
  4613.         __init__(self, Window parent, int id=-1, Point pos=DefaultPosition, 
  4614.             Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyScrolledWindow
  4615.         '''
  4616.         newobj = _windows_.new_PyScrolledWindow(*args, **kwargs)
  4617.         self.this = newobj.this
  4618.         self.thisown = 1
  4619.         del newobj.thisown
  4620.         self._setOORInfo(self)
  4621.         self._setCallbackInfo(self, PyScrolledWindow)
  4622.  
  4623.     
  4624.     def _setCallbackInfo(*args, **kwargs):
  4625.         '''_setCallbackInfo(self, PyObject self, PyObject _class)'''
  4626.         return _windows_.PyScrolledWindow__setCallbackInfo(*args, **kwargs)
  4627.  
  4628.     
  4629.     def SetBestSize(*args, **kwargs):
  4630.         '''SetBestSize(self, Size size)'''
  4631.         return _windows_.PyScrolledWindow_SetBestSize(*args, **kwargs)
  4632.  
  4633.     
  4634.     def DoEraseBackground(*args, **kwargs):
  4635.         '''DoEraseBackground(self, DC dc) -> bool'''
  4636.         return _windows_.PyScrolledWindow_DoEraseBackground(*args, **kwargs)
  4637.  
  4638.     
  4639.     def base_DoMoveWindow(*args, **kwargs):
  4640.         '''base_DoMoveWindow(self, int x, int y, int width, int height)'''
  4641.         return _windows_.PyScrolledWindow_base_DoMoveWindow(*args, **kwargs)
  4642.  
  4643.     
  4644.     def base_DoSetSize(*args, **kwargs):
  4645.         '''base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)'''
  4646.         return _windows_.PyScrolledWindow_base_DoSetSize(*args, **kwargs)
  4647.  
  4648.     
  4649.     def base_DoSetClientSize(*args, **kwargs):
  4650.         '''base_DoSetClientSize(self, int width, int height)'''
  4651.         return _windows_.PyScrolledWindow_base_DoSetClientSize(*args, **kwargs)
  4652.  
  4653.     
  4654.     def base_DoSetVirtualSize(*args, **kwargs):
  4655.         '''base_DoSetVirtualSize(self, int x, int y)'''
  4656.         return _windows_.PyScrolledWindow_base_DoSetVirtualSize(*args, **kwargs)
  4657.  
  4658.     
  4659.     def base_DoGetSize(*args, **kwargs):
  4660.         '''base_DoGetSize() -> (width, height)'''
  4661.         return _windows_.PyScrolledWindow_base_DoGetSize(*args, **kwargs)
  4662.  
  4663.     
  4664.     def base_DoGetClientSize(*args, **kwargs):
  4665.         '''base_DoGetClientSize() -> (width, height)'''
  4666.         return _windows_.PyScrolledWindow_base_DoGetClientSize(*args, **kwargs)
  4667.  
  4668.     
  4669.     def base_DoGetPosition(*args, **kwargs):
  4670.         '''base_DoGetPosition() -> (x,y)'''
  4671.         return _windows_.PyScrolledWindow_base_DoGetPosition(*args, **kwargs)
  4672.  
  4673.     
  4674.     def base_DoGetVirtualSize(*args, **kwargs):
  4675.         '''base_DoGetVirtualSize(self) -> Size'''
  4676.         return _windows_.PyScrolledWindow_base_DoGetVirtualSize(*args, **kwargs)
  4677.  
  4678.     
  4679.     def base_DoGetBestSize(*args, **kwargs):
  4680.         '''base_DoGetBestSize(self) -> Size'''
  4681.         return _windows_.PyScrolledWindow_base_DoGetBestSize(*args, **kwargs)
  4682.  
  4683.     
  4684.     def base_InitDialog(*args, **kwargs):
  4685.         '''base_InitDialog(self)'''
  4686.         return _windows_.PyScrolledWindow_base_InitDialog(*args, **kwargs)
  4687.  
  4688.     
  4689.     def base_TransferDataToWindow(*args, **kwargs):
  4690.         '''base_TransferDataToWindow(self) -> bool'''
  4691.         return _windows_.PyScrolledWindow_base_TransferDataToWindow(*args, **kwargs)
  4692.  
  4693.     
  4694.     def base_TransferDataFromWindow(*args, **kwargs):
  4695.         '''base_TransferDataFromWindow(self) -> bool'''
  4696.         return _windows_.PyScrolledWindow_base_TransferDataFromWindow(*args, **kwargs)
  4697.  
  4698.     
  4699.     def base_Validate(*args, **kwargs):
  4700.         '''base_Validate(self) -> bool'''
  4701.         return _windows_.PyScrolledWindow_base_Validate(*args, **kwargs)
  4702.  
  4703.     
  4704.     def base_AcceptsFocus(*args, **kwargs):
  4705.         '''base_AcceptsFocus(self) -> bool'''
  4706.         return _windows_.PyScrolledWindow_base_AcceptsFocus(*args, **kwargs)
  4707.  
  4708.     
  4709.     def base_AcceptsFocusFromKeyboard(*args, **kwargs):
  4710.         '''base_AcceptsFocusFromKeyboard(self) -> bool'''
  4711.         return _windows_.PyScrolledWindow_base_AcceptsFocusFromKeyboard(*args, **kwargs)
  4712.  
  4713.     
  4714.     def base_GetMaxSize(*args, **kwargs):
  4715.         '''base_GetMaxSize(self) -> Size'''
  4716.         return _windows_.PyScrolledWindow_base_GetMaxSize(*args, **kwargs)
  4717.  
  4718.     
  4719.     def base_AddChild(*args, **kwargs):
  4720.         '''base_AddChild(self, Window child)'''
  4721.         return _windows_.PyScrolledWindow_base_AddChild(*args, **kwargs)
  4722.  
  4723.     
  4724.     def base_RemoveChild(*args, **kwargs):
  4725.         '''base_RemoveChild(self, Window child)'''
  4726.         return _windows_.PyScrolledWindow_base_RemoveChild(*args, **kwargs)
  4727.  
  4728.     
  4729.     def base_ShouldInheritColours(*args, **kwargs):
  4730.         '''base_ShouldInheritColours(self) -> bool'''
  4731.         return _windows_.PyScrolledWindow_base_ShouldInheritColours(*args, **kwargs)
  4732.  
  4733.     
  4734.     def base_GetDefaultAttributes(*args, **kwargs):
  4735.         '''base_GetDefaultAttributes(self) -> VisualAttributes'''
  4736.         return _windows_.PyScrolledWindow_base_GetDefaultAttributes(*args, **kwargs)
  4737.  
  4738.     
  4739.     def base_OnInternalIdle(*args, **kwargs):
  4740.         '''base_OnInternalIdle(self)'''
  4741.         return _windows_.PyScrolledWindow_base_OnInternalIdle(*args, **kwargs)
  4742.  
  4743.  
  4744.  
  4745. class PyScrolledWindowPtr(PyScrolledWindow):
  4746.     
  4747.     def __init__(self, this):
  4748.         self.this = this
  4749.         if not hasattr(self, 'thisown'):
  4750.             self.thisown = 0
  4751.         
  4752.         self.__class__ = PyScrolledWindow
  4753.  
  4754.  
  4755. _windows_.PyScrolledWindow_swigregister(PyScrolledWindowPtr)
  4756.  
  4757. def PrePyScrolledWindow(*args, **kwargs):
  4758.     '''PrePyScrolledWindow() -> PyScrolledWindow'''
  4759.     val = _windows_.new_PrePyScrolledWindow(*args, **kwargs)
  4760.     val.thisown = 1
  4761.     return val
  4762.  
  4763. PRINT_MODE_NONE = _windows_.PRINT_MODE_NONE
  4764. PRINT_MODE_PREVIEW = _windows_.PRINT_MODE_PREVIEW
  4765. PRINT_MODE_FILE = _windows_.PRINT_MODE_FILE
  4766. PRINT_MODE_PRINTER = _windows_.PRINT_MODE_PRINTER
  4767. PRINT_MODE_STREAM = _windows_.PRINT_MODE_STREAM
  4768. PRINTBIN_DEFAULT = _windows_.PRINTBIN_DEFAULT
  4769. PRINTBIN_ONLYONE = _windows_.PRINTBIN_ONLYONE
  4770. PRINTBIN_LOWER = _windows_.PRINTBIN_LOWER
  4771. PRINTBIN_MIDDLE = _windows_.PRINTBIN_MIDDLE
  4772. PRINTBIN_MANUAL = _windows_.PRINTBIN_MANUAL
  4773. PRINTBIN_ENVELOPE = _windows_.PRINTBIN_ENVELOPE
  4774. PRINTBIN_ENVMANUAL = _windows_.PRINTBIN_ENVMANUAL
  4775. PRINTBIN_AUTO = _windows_.PRINTBIN_AUTO
  4776. PRINTBIN_TRACTOR = _windows_.PRINTBIN_TRACTOR
  4777. PRINTBIN_SMALLFMT = _windows_.PRINTBIN_SMALLFMT
  4778. PRINTBIN_LARGEFMT = _windows_.PRINTBIN_LARGEFMT
  4779. PRINTBIN_LARGECAPACITY = _windows_.PRINTBIN_LARGECAPACITY
  4780. PRINTBIN_CASSETTE = _windows_.PRINTBIN_CASSETTE
  4781. PRINTBIN_FORMSOURCE = _windows_.PRINTBIN_FORMSOURCE
  4782. PRINTBIN_USER = _windows_.PRINTBIN_USER
  4783.  
  4784. class PrintData(_core.Object):
  4785.     '''Proxy of C++ PrintData class'''
  4786.     
  4787.     def __repr__(self):
  4788.         return '<%s.%s; proxy of C++ wxPrintData instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  4789.  
  4790.     
  4791.     def __init__(self, *args):
  4792.         '''
  4793.         __init__(self) -> PrintData
  4794.         __init__(self, PrintData data) -> PrintData
  4795.         '''
  4796.         newobj = _windows_.new_PrintData(*args)
  4797.         self.this = newobj.this
  4798.         self.thisown = 1
  4799.         del newobj.thisown
  4800.  
  4801.     
  4802.     def __del__(self, destroy = _windows_.delete_PrintData):
  4803.         '''__del__(self)'''
  4804.         
  4805.         try:
  4806.             if self.thisown:
  4807.                 destroy(self)
  4808.         except:
  4809.             pass
  4810.  
  4811.  
  4812.     
  4813.     def GetNoCopies(*args, **kwargs):
  4814.         '''GetNoCopies(self) -> int'''
  4815.         return _windows_.PrintData_GetNoCopies(*args, **kwargs)
  4816.  
  4817.     
  4818.     def GetCollate(*args, **kwargs):
  4819.         '''GetCollate(self) -> bool'''
  4820.         return _windows_.PrintData_GetCollate(*args, **kwargs)
  4821.  
  4822.     
  4823.     def GetOrientation(*args, **kwargs):
  4824.         '''GetOrientation(self) -> int'''
  4825.         return _windows_.PrintData_GetOrientation(*args, **kwargs)
  4826.  
  4827.     
  4828.     def Ok(*args, **kwargs):
  4829.         '''Ok(self) -> bool'''
  4830.         return _windows_.PrintData_Ok(*args, **kwargs)
  4831.  
  4832.     
  4833.     def GetPrinterName(*args, **kwargs):
  4834.         '''GetPrinterName(self) -> String'''
  4835.         return _windows_.PrintData_GetPrinterName(*args, **kwargs)
  4836.  
  4837.     
  4838.     def GetColour(*args, **kwargs):
  4839.         '''GetColour(self) -> bool'''
  4840.         return _windows_.PrintData_GetColour(*args, **kwargs)
  4841.  
  4842.     
  4843.     def GetDuplex(*args, **kwargs):
  4844.         '''GetDuplex(self) -> int'''
  4845.         return _windows_.PrintData_GetDuplex(*args, **kwargs)
  4846.  
  4847.     
  4848.     def GetPaperId(*args, **kwargs):
  4849.         '''GetPaperId(self) -> int'''
  4850.         return _windows_.PrintData_GetPaperId(*args, **kwargs)
  4851.  
  4852.     
  4853.     def GetPaperSize(*args, **kwargs):
  4854.         '''GetPaperSize(self) -> Size'''
  4855.         return _windows_.PrintData_GetPaperSize(*args, **kwargs)
  4856.  
  4857.     
  4858.     def GetQuality(*args, **kwargs):
  4859.         '''GetQuality(self) -> int'''
  4860.         return _windows_.PrintData_GetQuality(*args, **kwargs)
  4861.  
  4862.     
  4863.     def GetBin(*args, **kwargs):
  4864.         '''GetBin(self) -> int'''
  4865.         return _windows_.PrintData_GetBin(*args, **kwargs)
  4866.  
  4867.     
  4868.     def GetPrintMode(*args, **kwargs):
  4869.         '''GetPrintMode(self) -> int'''
  4870.         return _windows_.PrintData_GetPrintMode(*args, **kwargs)
  4871.  
  4872.     
  4873.     def SetNoCopies(*args, **kwargs):
  4874.         '''SetNoCopies(self, int v)'''
  4875.         return _windows_.PrintData_SetNoCopies(*args, **kwargs)
  4876.  
  4877.     
  4878.     def SetCollate(*args, **kwargs):
  4879.         '''SetCollate(self, bool flag)'''
  4880.         return _windows_.PrintData_SetCollate(*args, **kwargs)
  4881.  
  4882.     
  4883.     def SetOrientation(*args, **kwargs):
  4884.         '''SetOrientation(self, int orient)'''
  4885.         return _windows_.PrintData_SetOrientation(*args, **kwargs)
  4886.  
  4887.     
  4888.     def SetPrinterName(*args, **kwargs):
  4889.         '''SetPrinterName(self, String name)'''
  4890.         return _windows_.PrintData_SetPrinterName(*args, **kwargs)
  4891.  
  4892.     
  4893.     def SetColour(*args, **kwargs):
  4894.         '''SetColour(self, bool colour)'''
  4895.         return _windows_.PrintData_SetColour(*args, **kwargs)
  4896.  
  4897.     
  4898.     def SetDuplex(*args, **kwargs):
  4899.         '''SetDuplex(self, int duplex)'''
  4900.         return _windows_.PrintData_SetDuplex(*args, **kwargs)
  4901.  
  4902.     
  4903.     def SetPaperId(*args, **kwargs):
  4904.         '''SetPaperId(self, int sizeId)'''
  4905.         return _windows_.PrintData_SetPaperId(*args, **kwargs)
  4906.  
  4907.     
  4908.     def SetPaperSize(*args, **kwargs):
  4909.         '''SetPaperSize(self, Size sz)'''
  4910.         return _windows_.PrintData_SetPaperSize(*args, **kwargs)
  4911.  
  4912.     
  4913.     def SetQuality(*args, **kwargs):
  4914.         '''SetQuality(self, int quality)'''
  4915.         return _windows_.PrintData_SetQuality(*args, **kwargs)
  4916.  
  4917.     
  4918.     def SetBin(*args, **kwargs):
  4919.         '''SetBin(self, int bin)'''
  4920.         return _windows_.PrintData_SetBin(*args, **kwargs)
  4921.  
  4922.     
  4923.     def SetPrintMode(*args, **kwargs):
  4924.         '''SetPrintMode(self, int printMode)'''
  4925.         return _windows_.PrintData_SetPrintMode(*args, **kwargs)
  4926.  
  4927.     
  4928.     def GetFilename(*args, **kwargs):
  4929.         '''GetFilename(self) -> String'''
  4930.         return _windows_.PrintData_GetFilename(*args, **kwargs)
  4931.  
  4932.     
  4933.     def SetFilename(*args, **kwargs):
  4934.         '''SetFilename(self, String filename)'''
  4935.         return _windows_.PrintData_SetFilename(*args, **kwargs)
  4936.  
  4937.     
  4938.     def __nonzero__(self):
  4939.         return self.Ok()
  4940.  
  4941.     
  4942.     def GetPrivData(*args, **kwargs):
  4943.         '''GetPrivData(self) -> PyObject'''
  4944.         return _windows_.PrintData_GetPrivData(*args, **kwargs)
  4945.  
  4946.     
  4947.     def SetPrivData(*args, **kwargs):
  4948.         '''SetPrivData(self, PyObject data)'''
  4949.         return _windows_.PrintData_SetPrivData(*args, **kwargs)
  4950.  
  4951.     
  4952.     def GetPrinterCommand(*args, **kwargs):
  4953.         '''GetPrinterCommand(self) -> String'''
  4954.         return _windows_.PrintData_GetPrinterCommand(*args, **kwargs)
  4955.  
  4956.     
  4957.     def GetPrinterOptions(*args, **kwargs):
  4958.         '''GetPrinterOptions(self) -> String'''
  4959.         return _windows_.PrintData_GetPrinterOptions(*args, **kwargs)
  4960.  
  4961.     
  4962.     def GetPreviewCommand(*args, **kwargs):
  4963.         '''GetPreviewCommand(self) -> String'''
  4964.         return _windows_.PrintData_GetPreviewCommand(*args, **kwargs)
  4965.  
  4966.     
  4967.     def GetFontMetricPath(*args, **kwargs):
  4968.         '''GetFontMetricPath(self) -> String'''
  4969.         return _windows_.PrintData_GetFontMetricPath(*args, **kwargs)
  4970.  
  4971.     
  4972.     def GetPrinterScaleX(*args, **kwargs):
  4973.         '''GetPrinterScaleX(self) -> double'''
  4974.         return _windows_.PrintData_GetPrinterScaleX(*args, **kwargs)
  4975.  
  4976.     
  4977.     def GetPrinterScaleY(*args, **kwargs):
  4978.         '''GetPrinterScaleY(self) -> double'''
  4979.         return _windows_.PrintData_GetPrinterScaleY(*args, **kwargs)
  4980.  
  4981.     
  4982.     def GetPrinterTranslateX(*args, **kwargs):
  4983.         '''GetPrinterTranslateX(self) -> long'''
  4984.         return _windows_.PrintData_GetPrinterTranslateX(*args, **kwargs)
  4985.  
  4986.     
  4987.     def GetPrinterTranslateY(*args, **kwargs):
  4988.         '''GetPrinterTranslateY(self) -> long'''
  4989.         return _windows_.PrintData_GetPrinterTranslateY(*args, **kwargs)
  4990.  
  4991.     
  4992.     def SetPrinterCommand(*args, **kwargs):
  4993.         '''SetPrinterCommand(self, String command)'''
  4994.         return _windows_.PrintData_SetPrinterCommand(*args, **kwargs)
  4995.  
  4996.     
  4997.     def SetPrinterOptions(*args, **kwargs):
  4998.         '''SetPrinterOptions(self, String options)'''
  4999.         return _windows_.PrintData_SetPrinterOptions(*args, **kwargs)
  5000.  
  5001.     
  5002.     def SetPreviewCommand(*args, **kwargs):
  5003.         '''SetPreviewCommand(self, String command)'''
  5004.         return _windows_.PrintData_SetPreviewCommand(*args, **kwargs)
  5005.  
  5006.     
  5007.     def SetFontMetricPath(*args, **kwargs):
  5008.         '''SetFontMetricPath(self, String path)'''
  5009.         return _windows_.PrintData_SetFontMetricPath(*args, **kwargs)
  5010.  
  5011.     
  5012.     def SetPrinterScaleX(*args, **kwargs):
  5013.         '''SetPrinterScaleX(self, double x)'''
  5014.         return _windows_.PrintData_SetPrinterScaleX(*args, **kwargs)
  5015.  
  5016.     
  5017.     def SetPrinterScaleY(*args, **kwargs):
  5018.         '''SetPrinterScaleY(self, double y)'''
  5019.         return _windows_.PrintData_SetPrinterScaleY(*args, **kwargs)
  5020.  
  5021.     
  5022.     def SetPrinterScaling(*args, **kwargs):
  5023.         '''SetPrinterScaling(self, double x, double y)'''
  5024.         return _windows_.PrintData_SetPrinterScaling(*args, **kwargs)
  5025.  
  5026.     
  5027.     def SetPrinterTranslateX(*args, **kwargs):
  5028.         '''SetPrinterTranslateX(self, long x)'''
  5029.         return _windows_.PrintData_SetPrinterTranslateX(*args, **kwargs)
  5030.  
  5031.     
  5032.     def SetPrinterTranslateY(*args, **kwargs):
  5033.         '''SetPrinterTranslateY(self, long y)'''
  5034.         return _windows_.PrintData_SetPrinterTranslateY(*args, **kwargs)
  5035.  
  5036.     
  5037.     def SetPrinterTranslation(*args, **kwargs):
  5038.         '''SetPrinterTranslation(self, long x, long y)'''
  5039.         return _windows_.PrintData_SetPrinterTranslation(*args, **kwargs)
  5040.  
  5041.  
  5042.  
  5043. class PrintDataPtr(PrintData):
  5044.     
  5045.     def __init__(self, this):
  5046.         self.this = this
  5047.         if not hasattr(self, 'thisown'):
  5048.             self.thisown = 0
  5049.         
  5050.         self.__class__ = PrintData
  5051.  
  5052.  
  5053. _windows_.PrintData_swigregister(PrintDataPtr)
  5054. PrintoutTitleStr = cvar.PrintoutTitleStr
  5055. PreviewCanvasNameStr = cvar.PreviewCanvasNameStr
  5056.  
  5057. class PageSetupDialogData(_core.Object):
  5058.     '''Proxy of C++ PageSetupDialogData class'''
  5059.     
  5060.     def __repr__(self):
  5061.         return '<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  5062.  
  5063.     
  5064.     def __init__(self, *args):
  5065.         '''
  5066.         __init__(self) -> PageSetupDialogData
  5067.         __init__(self, PageSetupDialogData data) -> PageSetupDialogData
  5068.         __init__(self, PrintData data) -> PageSetupDialogData
  5069.         '''
  5070.         newobj = _windows_.new_PageSetupDialogData(*args)
  5071.         self.this = newobj.this
  5072.         self.thisown = 1
  5073.         del newobj.thisown
  5074.  
  5075.     
  5076.     def __del__(self, destroy = _windows_.delete_PageSetupDialogData):
  5077.         '''__del__(self)'''
  5078.         
  5079.         try:
  5080.             if self.thisown:
  5081.                 destroy(self)
  5082.         except:
  5083.             pass
  5084.  
  5085.  
  5086.     
  5087.     def EnableHelp(*args, **kwargs):
  5088.         '''EnableHelp(self, bool flag)'''
  5089.         return _windows_.PageSetupDialogData_EnableHelp(*args, **kwargs)
  5090.  
  5091.     
  5092.     def EnableMargins(*args, **kwargs):
  5093.         '''EnableMargins(self, bool flag)'''
  5094.         return _windows_.PageSetupDialogData_EnableMargins(*args, **kwargs)
  5095.  
  5096.     
  5097.     def EnableOrientation(*args, **kwargs):
  5098.         '''EnableOrientation(self, bool flag)'''
  5099.         return _windows_.PageSetupDialogData_EnableOrientation(*args, **kwargs)
  5100.  
  5101.     
  5102.     def EnablePaper(*args, **kwargs):
  5103.         '''EnablePaper(self, bool flag)'''
  5104.         return _windows_.PageSetupDialogData_EnablePaper(*args, **kwargs)
  5105.  
  5106.     
  5107.     def EnablePrinter(*args, **kwargs):
  5108.         '''EnablePrinter(self, bool flag)'''
  5109.         return _windows_.PageSetupDialogData_EnablePrinter(*args, **kwargs)
  5110.  
  5111.     
  5112.     def GetDefaultMinMargins(*args, **kwargs):
  5113.         '''GetDefaultMinMargins(self) -> bool'''
  5114.         return _windows_.PageSetupDialogData_GetDefaultMinMargins(*args, **kwargs)
  5115.  
  5116.     
  5117.     def GetEnableMargins(*args, **kwargs):
  5118.         '''GetEnableMargins(self) -> bool'''
  5119.         return _windows_.PageSetupDialogData_GetEnableMargins(*args, **kwargs)
  5120.  
  5121.     
  5122.     def GetEnableOrientation(*args, **kwargs):
  5123.         '''GetEnableOrientation(self) -> bool'''
  5124.         return _windows_.PageSetupDialogData_GetEnableOrientation(*args, **kwargs)
  5125.  
  5126.     
  5127.     def GetEnablePaper(*args, **kwargs):
  5128.         '''GetEnablePaper(self) -> bool'''
  5129.         return _windows_.PageSetupDialogData_GetEnablePaper(*args, **kwargs)
  5130.  
  5131.     
  5132.     def GetEnablePrinter(*args, **kwargs):
  5133.         '''GetEnablePrinter(self) -> bool'''
  5134.         return _windows_.PageSetupDialogData_GetEnablePrinter(*args, **kwargs)
  5135.  
  5136.     
  5137.     def GetEnableHelp(*args, **kwargs):
  5138.         '''GetEnableHelp(self) -> bool'''
  5139.         return _windows_.PageSetupDialogData_GetEnableHelp(*args, **kwargs)
  5140.  
  5141.     
  5142.     def GetDefaultInfo(*args, **kwargs):
  5143.         '''GetDefaultInfo(self) -> bool'''
  5144.         return _windows_.PageSetupDialogData_GetDefaultInfo(*args, **kwargs)
  5145.  
  5146.     
  5147.     def GetMarginTopLeft(*args, **kwargs):
  5148.         '''GetMarginTopLeft(self) -> Point'''
  5149.         return _windows_.PageSetupDialogData_GetMarginTopLeft(*args, **kwargs)
  5150.  
  5151.     
  5152.     def GetMarginBottomRight(*args, **kwargs):
  5153.         '''GetMarginBottomRight(self) -> Point'''
  5154.         return _windows_.PageSetupDialogData_GetMarginBottomRight(*args, **kwargs)
  5155.  
  5156.     
  5157.     def GetMinMarginTopLeft(*args, **kwargs):
  5158.         '''GetMinMarginTopLeft(self) -> Point'''
  5159.         return _windows_.PageSetupDialogData_GetMinMarginTopLeft(*args, **kwargs)
  5160.  
  5161.     
  5162.     def GetMinMarginBottomRight(*args, **kwargs):
  5163.         '''GetMinMarginBottomRight(self) -> Point'''
  5164.         return _windows_.PageSetupDialogData_GetMinMarginBottomRight(*args, **kwargs)
  5165.  
  5166.     
  5167.     def GetPaperId(*args, **kwargs):
  5168.         '''GetPaperId(self) -> int'''
  5169.         return _windows_.PageSetupDialogData_GetPaperId(*args, **kwargs)
  5170.  
  5171.     
  5172.     def GetPaperSize(*args, **kwargs):
  5173.         '''GetPaperSize(self) -> Size'''
  5174.         return _windows_.PageSetupDialogData_GetPaperSize(*args, **kwargs)
  5175.  
  5176.     
  5177.     def GetPrintData(*args, **kwargs):
  5178.         '''GetPrintData(self) -> PrintData'''
  5179.         return _windows_.PageSetupDialogData_GetPrintData(*args, **kwargs)
  5180.  
  5181.     
  5182.     def Ok(*args, **kwargs):
  5183.         '''Ok(self) -> bool'''
  5184.         return _windows_.PageSetupDialogData_Ok(*args, **kwargs)
  5185.  
  5186.     
  5187.     def SetDefaultInfo(*args, **kwargs):
  5188.         '''SetDefaultInfo(self, bool flag)'''
  5189.         return _windows_.PageSetupDialogData_SetDefaultInfo(*args, **kwargs)
  5190.  
  5191.     
  5192.     def SetDefaultMinMargins(*args, **kwargs):
  5193.         '''SetDefaultMinMargins(self, bool flag)'''
  5194.         return _windows_.PageSetupDialogData_SetDefaultMinMargins(*args, **kwargs)
  5195.  
  5196.     
  5197.     def SetMarginTopLeft(*args, **kwargs):
  5198.         '''SetMarginTopLeft(self, Point pt)'''
  5199.         return _windows_.PageSetupDialogData_SetMarginTopLeft(*args, **kwargs)
  5200.  
  5201.     
  5202.     def SetMarginBottomRight(*args, **kwargs):
  5203.         '''SetMarginBottomRight(self, Point pt)'''
  5204.         return _windows_.PageSetupDialogData_SetMarginBottomRight(*args, **kwargs)
  5205.  
  5206.     
  5207.     def SetMinMarginTopLeft(*args, **kwargs):
  5208.         '''SetMinMarginTopLeft(self, Point pt)'''
  5209.         return _windows_.PageSetupDialogData_SetMinMarginTopLeft(*args, **kwargs)
  5210.  
  5211.     
  5212.     def SetMinMarginBottomRight(*args, **kwargs):
  5213.         '''SetMinMarginBottomRight(self, Point pt)'''
  5214.         return _windows_.PageSetupDialogData_SetMinMarginBottomRight(*args, **kwargs)
  5215.  
  5216.     
  5217.     def SetPaperId(*args, **kwargs):
  5218.         '''SetPaperId(self, int id)'''
  5219.         return _windows_.PageSetupDialogData_SetPaperId(*args, **kwargs)
  5220.  
  5221.     
  5222.     def SetPaperSize(*args, **kwargs):
  5223.         '''SetPaperSize(self, Size size)'''
  5224.         return _windows_.PageSetupDialogData_SetPaperSize(*args, **kwargs)
  5225.  
  5226.     
  5227.     def SetPrintData(*args, **kwargs):
  5228.         '''SetPrintData(self, PrintData printData)'''
  5229.         return _windows_.PageSetupDialogData_SetPrintData(*args, **kwargs)
  5230.  
  5231.     
  5232.     def CalculateIdFromPaperSize(*args, **kwargs):
  5233.         '''CalculateIdFromPaperSize(self)'''
  5234.         return _windows_.PageSetupDialogData_CalculateIdFromPaperSize(*args, **kwargs)
  5235.  
  5236.     
  5237.     def CalculatePaperSizeFromId(*args, **kwargs):
  5238.         '''CalculatePaperSizeFromId(self)'''
  5239.         return _windows_.PageSetupDialogData_CalculatePaperSizeFromId(*args, **kwargs)
  5240.  
  5241.     
  5242.     def __nonzero__(self):
  5243.         return self.Ok()
  5244.  
  5245.  
  5246.  
  5247. class PageSetupDialogDataPtr(PageSetupDialogData):
  5248.     
  5249.     def __init__(self, this):
  5250.         self.this = this
  5251.         if not hasattr(self, 'thisown'):
  5252.             self.thisown = 0
  5253.         
  5254.         self.__class__ = PageSetupDialogData
  5255.  
  5256.  
  5257. _windows_.PageSetupDialogData_swigregister(PageSetupDialogDataPtr)
  5258.  
  5259. class PageSetupDialog(_core.Object):
  5260.     '''Proxy of C++ PageSetupDialog class'''
  5261.     
  5262.     def __repr__(self):
  5263.         return '<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  5264.  
  5265.     
  5266.     def __init__(self, *args, **kwargs):
  5267.         '''__init__(self, Window parent, PageSetupDialogData data=None) -> PageSetupDialog'''
  5268.         newobj = _windows_.new_PageSetupDialog(*args, **kwargs)
  5269.         self.this = newobj.this
  5270.         self.thisown = 1
  5271.         del newobj.thisown
  5272.  
  5273.     
  5274.     def GetPageSetupData(*args, **kwargs):
  5275.         '''GetPageSetupData(self) -> PageSetupDialogData'''
  5276.         return _windows_.PageSetupDialog_GetPageSetupData(*args, **kwargs)
  5277.  
  5278.     
  5279.     def GetPageSetupDialogData(*args, **kwargs):
  5280.         '''GetPageSetupDialogData(self) -> PageSetupDialogData'''
  5281.         return _windows_.PageSetupDialog_GetPageSetupDialogData(*args, **kwargs)
  5282.  
  5283.     
  5284.     def ShowModal(*args, **kwargs):
  5285.         '''ShowModal(self) -> int'''
  5286.         return _windows_.PageSetupDialog_ShowModal(*args, **kwargs)
  5287.  
  5288.  
  5289.  
  5290. class PageSetupDialogPtr(PageSetupDialog):
  5291.     
  5292.     def __init__(self, this):
  5293.         self.this = this
  5294.         if not hasattr(self, 'thisown'):
  5295.             self.thisown = 0
  5296.         
  5297.         self.__class__ = PageSetupDialog
  5298.  
  5299.  
  5300. _windows_.PageSetupDialog_swigregister(PageSetupDialogPtr)
  5301.  
  5302. class PrintDialogData(_core.Object):
  5303.     '''Proxy of C++ PrintDialogData class'''
  5304.     
  5305.     def __repr__(self):
  5306.         return '<%s.%s; proxy of C++ wxPrintDialogData instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  5307.  
  5308.     
  5309.     def __init__(self, *args):
  5310.         '''
  5311.         __init__(self) -> PrintDialogData
  5312.         __init__(self, PrintData printData) -> PrintDialogData
  5313.         __init__(self, PrintDialogData printData) -> PrintDialogData
  5314.         '''
  5315.         newobj = _windows_.new_PrintDialogData(*args)
  5316.         self.this = newobj.this
  5317.         self.thisown = 1
  5318.         del newobj.thisown
  5319.  
  5320.     
  5321.     def __del__(self, destroy = _windows_.delete_PrintDialogData):
  5322.         '''__del__(self)'''
  5323.         
  5324.         try:
  5325.             if self.thisown:
  5326.                 destroy(self)
  5327.         except:
  5328.             pass
  5329.  
  5330.  
  5331.     
  5332.     def GetFromPage(*args, **kwargs):
  5333.         '''GetFromPage(self) -> int'''
  5334.         return _windows_.PrintDialogData_GetFromPage(*args, **kwargs)
  5335.  
  5336.     
  5337.     def GetToPage(*args, **kwargs):
  5338.         '''GetToPage(self) -> int'''
  5339.         return _windows_.PrintDialogData_GetToPage(*args, **kwargs)
  5340.  
  5341.     
  5342.     def GetMinPage(*args, **kwargs):
  5343.         '''GetMinPage(self) -> int'''
  5344.         return _windows_.PrintDialogData_GetMinPage(*args, **kwargs)
  5345.  
  5346.     
  5347.     def GetMaxPage(*args, **kwargs):
  5348.         '''GetMaxPage(self) -> int'''
  5349.         return _windows_.PrintDialogData_GetMaxPage(*args, **kwargs)
  5350.  
  5351.     
  5352.     def GetNoCopies(*args, **kwargs):
  5353.         '''GetNoCopies(self) -> int'''
  5354.         return _windows_.PrintDialogData_GetNoCopies(*args, **kwargs)
  5355.  
  5356.     
  5357.     def GetAllPages(*args, **kwargs):
  5358.         '''GetAllPages(self) -> bool'''
  5359.         return _windows_.PrintDialogData_GetAllPages(*args, **kwargs)
  5360.  
  5361.     
  5362.     def GetSelection(*args, **kwargs):
  5363.         '''GetSelection(self) -> bool'''
  5364.         return _windows_.PrintDialogData_GetSelection(*args, **kwargs)
  5365.  
  5366.     
  5367.     def GetCollate(*args, **kwargs):
  5368.         '''GetCollate(self) -> bool'''
  5369.         return _windows_.PrintDialogData_GetCollate(*args, **kwargs)
  5370.  
  5371.     
  5372.     def GetPrintToFile(*args, **kwargs):
  5373.         '''GetPrintToFile(self) -> bool'''
  5374.         return _windows_.PrintDialogData_GetPrintToFile(*args, **kwargs)
  5375.  
  5376.     
  5377.     def GetSetupDialog(*args, **kwargs):
  5378.         '''GetSetupDialog(self) -> bool'''
  5379.         return _windows_.PrintDialogData_GetSetupDialog(*args, **kwargs)
  5380.  
  5381.     
  5382.     def SetSetupDialog(*args, **kwargs):
  5383.         '''SetSetupDialog(self, bool flag)'''
  5384.         return _windows_.PrintDialogData_SetSetupDialog(*args, **kwargs)
  5385.  
  5386.     
  5387.     def SetFromPage(*args, **kwargs):
  5388.         '''SetFromPage(self, int v)'''
  5389.         return _windows_.PrintDialogData_SetFromPage(*args, **kwargs)
  5390.  
  5391.     
  5392.     def SetToPage(*args, **kwargs):
  5393.         '''SetToPage(self, int v)'''
  5394.         return _windows_.PrintDialogData_SetToPage(*args, **kwargs)
  5395.  
  5396.     
  5397.     def SetMinPage(*args, **kwargs):
  5398.         '''SetMinPage(self, int v)'''
  5399.         return _windows_.PrintDialogData_SetMinPage(*args, **kwargs)
  5400.  
  5401.     
  5402.     def SetMaxPage(*args, **kwargs):
  5403.         '''SetMaxPage(self, int v)'''
  5404.         return _windows_.PrintDialogData_SetMaxPage(*args, **kwargs)
  5405.  
  5406.     
  5407.     def SetNoCopies(*args, **kwargs):
  5408.         '''SetNoCopies(self, int v)'''
  5409.         return _windows_.PrintDialogData_SetNoCopies(*args, **kwargs)
  5410.  
  5411.     
  5412.     def SetAllPages(*args, **kwargs):
  5413.         '''SetAllPages(self, bool flag)'''
  5414.         return _windows_.PrintDialogData_SetAllPages(*args, **kwargs)
  5415.  
  5416.     
  5417.     def SetSelection(*args, **kwargs):
  5418.         '''SetSelection(self, bool flag)'''
  5419.         return _windows_.PrintDialogData_SetSelection(*args, **kwargs)
  5420.  
  5421.     
  5422.     def SetCollate(*args, **kwargs):
  5423.         '''SetCollate(self, bool flag)'''
  5424.         return _windows_.PrintDialogData_SetCollate(*args, **kwargs)
  5425.  
  5426.     
  5427.     def SetPrintToFile(*args, **kwargs):
  5428.         '''SetPrintToFile(self, bool flag)'''
  5429.         return _windows_.PrintDialogData_SetPrintToFile(*args, **kwargs)
  5430.  
  5431.     
  5432.     def EnablePrintToFile(*args, **kwargs):
  5433.         '''EnablePrintToFile(self, bool flag)'''
  5434.         return _windows_.PrintDialogData_EnablePrintToFile(*args, **kwargs)
  5435.  
  5436.     
  5437.     def EnableSelection(*args, **kwargs):
  5438.         '''EnableSelection(self, bool flag)'''
  5439.         return _windows_.PrintDialogData_EnableSelection(*args, **kwargs)
  5440.  
  5441.     
  5442.     def EnablePageNumbers(*args, **kwargs):
  5443.         '''EnablePageNumbers(self, bool flag)'''
  5444.         return _windows_.PrintDialogData_EnablePageNumbers(*args, **kwargs)
  5445.  
  5446.     
  5447.     def EnableHelp(*args, **kwargs):
  5448.         '''EnableHelp(self, bool flag)'''
  5449.         return _windows_.PrintDialogData_EnableHelp(*args, **kwargs)
  5450.  
  5451.     
  5452.     def GetEnablePrintToFile(*args, **kwargs):
  5453.         '''GetEnablePrintToFile(self) -> bool'''
  5454.         return _windows_.PrintDialogData_GetEnablePrintToFile(*args, **kwargs)
  5455.  
  5456.     
  5457.     def GetEnableSelection(*args, **kwargs):
  5458.         '''GetEnableSelection(self) -> bool'''
  5459.         return _windows_.PrintDialogData_GetEnableSelection(*args, **kwargs)
  5460.  
  5461.     
  5462.     def GetEnablePageNumbers(*args, **kwargs):
  5463.         '''GetEnablePageNumbers(self) -> bool'''
  5464.         return _windows_.PrintDialogData_GetEnablePageNumbers(*args, **kwargs)
  5465.  
  5466.     
  5467.     def GetEnableHelp(*args, **kwargs):
  5468.         '''GetEnableHelp(self) -> bool'''
  5469.         return _windows_.PrintDialogData_GetEnableHelp(*args, **kwargs)
  5470.  
  5471.     
  5472.     def Ok(*args, **kwargs):
  5473.         '''Ok(self) -> bool'''
  5474.         return _windows_.PrintDialogData_Ok(*args, **kwargs)
  5475.  
  5476.     
  5477.     def GetPrintData(*args, **kwargs):
  5478.         '''GetPrintData(self) -> PrintData'''
  5479.         return _windows_.PrintDialogData_GetPrintData(*args, **kwargs)
  5480.  
  5481.     
  5482.     def SetPrintData(*args, **kwargs):
  5483.         '''SetPrintData(self, PrintData printData)'''
  5484.         return _windows_.PrintDialogData_SetPrintData(*args, **kwargs)
  5485.  
  5486.     
  5487.     def __nonzero__(self):
  5488.         return self.Ok()
  5489.  
  5490.  
  5491.  
  5492. class PrintDialogDataPtr(PrintDialogData):
  5493.     
  5494.     def __init__(self, this):
  5495.         self.this = this
  5496.         if not hasattr(self, 'thisown'):
  5497.             self.thisown = 0
  5498.         
  5499.         self.__class__ = PrintDialogData
  5500.  
  5501.  
  5502. _windows_.PrintDialogData_swigregister(PrintDialogDataPtr)
  5503.  
  5504. class PrintDialog(_core.Object):
  5505.     '''Proxy of C++ PrintDialog class'''
  5506.     
  5507.     def __repr__(self):
  5508.         return '<%s.%s; proxy of C++ wxPrintDialog instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  5509.  
  5510.     
  5511.     def __init__(self, *args, **kwargs):
  5512.         '''__init__(self, Window parent, PrintDialogData data=None) -> PrintDialog'''
  5513.         newobj = _windows_.new_PrintDialog(*args, **kwargs)
  5514.         self.this = newobj.this
  5515.         self.thisown = 1
  5516.         del newobj.thisown
  5517.  
  5518.     
  5519.     def ShowModal(*args, **kwargs):
  5520.         '''ShowModal(self) -> int'''
  5521.         return _windows_.PrintDialog_ShowModal(*args, **kwargs)
  5522.  
  5523.     
  5524.     def GetPrintDialogData(*args, **kwargs):
  5525.         '''GetPrintDialogData(self) -> PrintDialogData'''
  5526.         return _windows_.PrintDialog_GetPrintDialogData(*args, **kwargs)
  5527.  
  5528.     
  5529.     def GetPrintData(*args, **kwargs):
  5530.         '''GetPrintData(self) -> PrintData'''
  5531.         return _windows_.PrintDialog_GetPrintData(*args, **kwargs)
  5532.  
  5533.     
  5534.     def GetPrintDC(*args, **kwargs):
  5535.         '''GetPrintDC(self) -> DC'''
  5536.         return _windows_.PrintDialog_GetPrintDC(*args, **kwargs)
  5537.  
  5538.  
  5539.  
  5540. class PrintDialogPtr(PrintDialog):
  5541.     
  5542.     def __init__(self, this):
  5543.         self.this = this
  5544.         if not hasattr(self, 'thisown'):
  5545.             self.thisown = 0
  5546.         
  5547.         self.__class__ = PrintDialog
  5548.  
  5549.  
  5550. _windows_.PrintDialog_swigregister(PrintDialogPtr)
  5551. PRINTER_NO_ERROR = _windows_.PRINTER_NO_ERROR
  5552. PRINTER_CANCELLED = _windows_.PRINTER_CANCELLED
  5553. PRINTER_ERROR = _windows_.PRINTER_ERROR
  5554.  
  5555. class Printer(_core.Object):
  5556.     '''Proxy of C++ Printer class'''
  5557.     
  5558.     def __repr__(self):
  5559.         return '<%s.%s; proxy of C++ wxPrinter instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  5560.  
  5561.     
  5562.     def __init__(self, *args, **kwargs):
  5563.         '''__init__(self, PrintDialogData data=None) -> Printer'''
  5564.         newobj = _windows_.new_Printer(*args, **kwargs)
  5565.         self.this = newobj.this
  5566.         self.thisown = 1
  5567.         del newobj.thisown
  5568.  
  5569.     
  5570.     def __del__(self, destroy = _windows_.delete_Printer):
  5571.         '''__del__(self)'''
  5572.         
  5573.         try:
  5574.             if self.thisown:
  5575.                 destroy(self)
  5576.         except:
  5577.             pass
  5578.  
  5579.  
  5580.     
  5581.     def CreateAbortWindow(*args, **kwargs):
  5582.         '''CreateAbortWindow(self, Window parent, Printout printout) -> Window'''
  5583.         return _windows_.Printer_CreateAbortWindow(*args, **kwargs)
  5584.  
  5585.     
  5586.     def ReportError(*args, **kwargs):
  5587.         '''ReportError(self, Window parent, Printout printout, String message)'''
  5588.         return _windows_.Printer_ReportError(*args, **kwargs)
  5589.  
  5590.     
  5591.     def Setup(*args, **kwargs):
  5592.         '''Setup(self, Window parent) -> bool'''
  5593.         return _windows_.Printer_Setup(*args, **kwargs)
  5594.  
  5595.     
  5596.     def Print(*args, **kwargs):
  5597.         '''Print(self, Window parent, Printout printout, bool prompt=True) -> bool'''
  5598.         return _windows_.Printer_Print(*args, **kwargs)
  5599.  
  5600.     
  5601.     def PrintDialog(*args, **kwargs):
  5602.         '''PrintDialog(self, Window parent) -> DC'''
  5603.         return _windows_.Printer_PrintDialog(*args, **kwargs)
  5604.  
  5605.     
  5606.     def GetPrintDialogData(*args, **kwargs):
  5607.         '''GetPrintDialogData(self) -> PrintDialogData'''
  5608.         return _windows_.Printer_GetPrintDialogData(*args, **kwargs)
  5609.  
  5610.     
  5611.     def GetAbort(*args, **kwargs):
  5612.         '''GetAbort(self) -> bool'''
  5613.         return _windows_.Printer_GetAbort(*args, **kwargs)
  5614.  
  5615.     
  5616.     def GetLastError(*args, **kwargs):
  5617.         '''GetLastError() -> int'''
  5618.         return _windows_.Printer_GetLastError(*args, **kwargs)
  5619.  
  5620.     GetLastError = staticmethod(GetLastError)
  5621.  
  5622.  
  5623. class PrinterPtr(Printer):
  5624.     
  5625.     def __init__(self, this):
  5626.         self.this = this
  5627.         if not hasattr(self, 'thisown'):
  5628.             self.thisown = 0
  5629.         
  5630.         self.__class__ = Printer
  5631.  
  5632.  
  5633. _windows_.Printer_swigregister(PrinterPtr)
  5634.  
  5635. def Printer_GetLastError(*args, **kwargs):
  5636.     '''Printer_GetLastError() -> int'''
  5637.     return _windows_.Printer_GetLastError(*args, **kwargs)
  5638.  
  5639.  
  5640. class Printout(_core.Object):
  5641.     '''Proxy of C++ Printout class'''
  5642.     
  5643.     def __repr__(self):
  5644.         return '<%s.%s; proxy of C++ wxPyPrintout instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  5645.  
  5646.     
  5647.     def __init__(self, *args, **kwargs):
  5648.         '''__init__(self, String title=PrintoutTitleStr) -> Printout'''
  5649.         newobj = _windows_.new_Printout(*args, **kwargs)
  5650.         self.this = newobj.this
  5651.         self.thisown = 1
  5652.         del newobj.thisown
  5653.         self._setCallbackInfo(self, Printout)
  5654.  
  5655.     
  5656.     def _setCallbackInfo(*args, **kwargs):
  5657.         '''_setCallbackInfo(self, PyObject self, PyObject _class)'''
  5658.         return _windows_.Printout__setCallbackInfo(*args, **kwargs)
  5659.  
  5660.     
  5661.     def GetTitle(*args, **kwargs):
  5662.         '''GetTitle(self) -> String'''
  5663.         return _windows_.Printout_GetTitle(*args, **kwargs)
  5664.  
  5665.     
  5666.     def GetDC(*args, **kwargs):
  5667.         '''GetDC(self) -> DC'''
  5668.         return _windows_.Printout_GetDC(*args, **kwargs)
  5669.  
  5670.     
  5671.     def SetDC(*args, **kwargs):
  5672.         '''SetDC(self, DC dc)'''
  5673.         return _windows_.Printout_SetDC(*args, **kwargs)
  5674.  
  5675.     
  5676.     def SetPageSizePixels(*args, **kwargs):
  5677.         '''SetPageSizePixels(self, int w, int h)'''
  5678.         return _windows_.Printout_SetPageSizePixels(*args, **kwargs)
  5679.  
  5680.     
  5681.     def GetPageSizePixels(*args, **kwargs):
  5682.         '''GetPageSizePixels() -> (w, h)'''
  5683.         return _windows_.Printout_GetPageSizePixels(*args, **kwargs)
  5684.  
  5685.     
  5686.     def SetPageSizeMM(*args, **kwargs):
  5687.         '''SetPageSizeMM(self, int w, int h)'''
  5688.         return _windows_.Printout_SetPageSizeMM(*args, **kwargs)
  5689.  
  5690.     
  5691.     def GetPageSizeMM(*args, **kwargs):
  5692.         '''GetPageSizeMM() -> (w, h)'''
  5693.         return _windows_.Printout_GetPageSizeMM(*args, **kwargs)
  5694.  
  5695.     
  5696.     def SetPPIScreen(*args, **kwargs):
  5697.         '''SetPPIScreen(self, int x, int y)'''
  5698.         return _windows_.Printout_SetPPIScreen(*args, **kwargs)
  5699.  
  5700.     
  5701.     def GetPPIScreen(*args, **kwargs):
  5702.         '''GetPPIScreen() -> (x,y)'''
  5703.         return _windows_.Printout_GetPPIScreen(*args, **kwargs)
  5704.  
  5705.     
  5706.     def SetPPIPrinter(*args, **kwargs):
  5707.         '''SetPPIPrinter(self, int x, int y)'''
  5708.         return _windows_.Printout_SetPPIPrinter(*args, **kwargs)
  5709.  
  5710.     
  5711.     def GetPPIPrinter(*args, **kwargs):
  5712.         '''GetPPIPrinter() -> (x,y)'''
  5713.         return _windows_.Printout_GetPPIPrinter(*args, **kwargs)
  5714.  
  5715.     
  5716.     def IsPreview(*args, **kwargs):
  5717.         '''IsPreview(self) -> bool'''
  5718.         return _windows_.Printout_IsPreview(*args, **kwargs)
  5719.  
  5720.     
  5721.     def SetIsPreview(*args, **kwargs):
  5722.         '''SetIsPreview(self, bool p)'''
  5723.         return _windows_.Printout_SetIsPreview(*args, **kwargs)
  5724.  
  5725.     
  5726.     def base_OnBeginDocument(*args, **kwargs):
  5727.         '''base_OnBeginDocument(self, int startPage, int endPage) -> bool'''
  5728.         return _windows_.Printout_base_OnBeginDocument(*args, **kwargs)
  5729.  
  5730.     
  5731.     def base_OnEndDocument(*args, **kwargs):
  5732.         '''base_OnEndDocument(self)'''
  5733.         return _windows_.Printout_base_OnEndDocument(*args, **kwargs)
  5734.  
  5735.     
  5736.     def base_OnBeginPrinting(*args, **kwargs):
  5737.         '''base_OnBeginPrinting(self)'''
  5738.         return _windows_.Printout_base_OnBeginPrinting(*args, **kwargs)
  5739.  
  5740.     
  5741.     def base_OnEndPrinting(*args, **kwargs):
  5742.         '''base_OnEndPrinting(self)'''
  5743.         return _windows_.Printout_base_OnEndPrinting(*args, **kwargs)
  5744.  
  5745.     
  5746.     def base_OnPreparePrinting(*args, **kwargs):
  5747.         '''base_OnPreparePrinting(self)'''
  5748.         return _windows_.Printout_base_OnPreparePrinting(*args, **kwargs)
  5749.  
  5750.     
  5751.     def base_HasPage(*args, **kwargs):
  5752.         '''base_HasPage(self, int page) -> bool'''
  5753.         return _windows_.Printout_base_HasPage(*args, **kwargs)
  5754.  
  5755.     
  5756.     def base_GetPageInfo(*args, **kwargs):
  5757.         '''base_GetPageInfo() -> (minPage, maxPage, pageFrom, pageTo)'''
  5758.         return _windows_.Printout_base_GetPageInfo(*args, **kwargs)
  5759.  
  5760.  
  5761.  
  5762. class PrintoutPtr(Printout):
  5763.     
  5764.     def __init__(self, this):
  5765.         self.this = this
  5766.         if not hasattr(self, 'thisown'):
  5767.             self.thisown = 0
  5768.         
  5769.         self.__class__ = Printout
  5770.  
  5771.  
  5772. _windows_.Printout_swigregister(PrintoutPtr)
  5773.  
  5774. class PreviewCanvas(ScrolledWindow):
  5775.     '''Proxy of C++ PreviewCanvas class'''
  5776.     
  5777.     def __repr__(self):
  5778.         return '<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  5779.  
  5780.     
  5781.     def __init__(self, *args, **kwargs):
  5782.         '''
  5783.         __init__(self, PrintPreview preview, Window parent, Point pos=DefaultPosition, 
  5784.             Size size=DefaultSize, long style=0, 
  5785.             String name=PreviewCanvasNameStr) -> PreviewCanvas
  5786.         '''
  5787.         newobj = _windows_.new_PreviewCanvas(*args, **kwargs)
  5788.         self.this = newobj.this
  5789.         self.thisown = 1
  5790.         del newobj.thisown
  5791.         self._setOORInfo(self)
  5792.  
  5793.  
  5794.  
  5795. class PreviewCanvasPtr(PreviewCanvas):
  5796.     
  5797.     def __init__(self, this):
  5798.         self.this = this
  5799.         if not hasattr(self, 'thisown'):
  5800.             self.thisown = 0
  5801.         
  5802.         self.__class__ = PreviewCanvas
  5803.  
  5804.  
  5805. _windows_.PreviewCanvas_swigregister(PreviewCanvasPtr)
  5806.  
  5807. class PreviewFrame(Frame):
  5808.     '''Proxy of C++ PreviewFrame class'''
  5809.     
  5810.     def __repr__(self):
  5811.         return '<%s.%s; proxy of C++ wxPreviewFrame instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  5812.  
  5813.     
  5814.     def __init__(self, *args, **kwargs):
  5815.         '''
  5816.         __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition, 
  5817.             Size size=DefaultSize, 
  5818.             long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PreviewFrame
  5819.         '''
  5820.         newobj = _windows_.new_PreviewFrame(*args, **kwargs)
  5821.         self.this = newobj.this
  5822.         self.thisown = 1
  5823.         del newobj.thisown
  5824.         self._setOORInfo(self)
  5825.  
  5826.     
  5827.     def Initialize(*args, **kwargs):
  5828.         '''Initialize(self)'''
  5829.         return _windows_.PreviewFrame_Initialize(*args, **kwargs)
  5830.  
  5831.     
  5832.     def CreateControlBar(*args, **kwargs):
  5833.         '''CreateControlBar(self)'''
  5834.         return _windows_.PreviewFrame_CreateControlBar(*args, **kwargs)
  5835.  
  5836.     
  5837.     def CreateCanvas(*args, **kwargs):
  5838.         '''CreateCanvas(self)'''
  5839.         return _windows_.PreviewFrame_CreateCanvas(*args, **kwargs)
  5840.  
  5841.     
  5842.     def GetControlBar(*args, **kwargs):
  5843.         '''GetControlBar(self) -> PreviewControlBar'''
  5844.         return _windows_.PreviewFrame_GetControlBar(*args, **kwargs)
  5845.  
  5846.  
  5847.  
  5848. class PreviewFramePtr(PreviewFrame):
  5849.     
  5850.     def __init__(self, this):
  5851.         self.this = this
  5852.         if not hasattr(self, 'thisown'):
  5853.             self.thisown = 0
  5854.         
  5855.         self.__class__ = PreviewFrame
  5856.  
  5857.  
  5858. _windows_.PreviewFrame_swigregister(PreviewFramePtr)
  5859. PREVIEW_PRINT = _windows_.PREVIEW_PRINT
  5860. PREVIEW_PREVIOUS = _windows_.PREVIEW_PREVIOUS
  5861. PREVIEW_NEXT = _windows_.PREVIEW_NEXT
  5862. PREVIEW_ZOOM = _windows_.PREVIEW_ZOOM
  5863. PREVIEW_FIRST = _windows_.PREVIEW_FIRST
  5864. PREVIEW_LAST = _windows_.PREVIEW_LAST
  5865. PREVIEW_GOTO = _windows_.PREVIEW_GOTO
  5866. PREVIEW_DEFAULT = _windows_.PREVIEW_DEFAULT
  5867. ID_PREVIEW_CLOSE = _windows_.ID_PREVIEW_CLOSE
  5868. ID_PREVIEW_NEXT = _windows_.ID_PREVIEW_NEXT
  5869. ID_PREVIEW_PREVIOUS = _windows_.ID_PREVIEW_PREVIOUS
  5870. ID_PREVIEW_PRINT = _windows_.ID_PREVIEW_PRINT
  5871. ID_PREVIEW_ZOOM = _windows_.ID_PREVIEW_ZOOM
  5872. ID_PREVIEW_FIRST = _windows_.ID_PREVIEW_FIRST
  5873. ID_PREVIEW_LAST = _windows_.ID_PREVIEW_LAST
  5874. ID_PREVIEW_GOTO = _windows_.ID_PREVIEW_GOTO
  5875.  
  5876. class PreviewControlBar(Panel):
  5877.     '''Proxy of C++ PreviewControlBar class'''
  5878.     
  5879.     def __repr__(self):
  5880.         return '<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  5881.  
  5882.     
  5883.     def __init__(self, *args, **kwargs):
  5884.         '''
  5885.         __init__(self, PrintPreview preview, long buttons, Window parent, 
  5886.             Point pos=DefaultPosition, Size size=DefaultSize, 
  5887.             long style=TAB_TRAVERSAL, String name=PanelNameStr) -> PreviewControlBar
  5888.         '''
  5889.         newobj = _windows_.new_PreviewControlBar(*args, **kwargs)
  5890.         self.this = newobj.this
  5891.         self.thisown = 1
  5892.         del newobj.thisown
  5893.         self._setOORInfo(self)
  5894.  
  5895.     
  5896.     def GetZoomControl(*args, **kwargs):
  5897.         '''GetZoomControl(self) -> int'''
  5898.         return _windows_.PreviewControlBar_GetZoomControl(*args, **kwargs)
  5899.  
  5900.     
  5901.     def SetZoomControl(*args, **kwargs):
  5902.         '''SetZoomControl(self, int zoom)'''
  5903.         return _windows_.PreviewControlBar_SetZoomControl(*args, **kwargs)
  5904.  
  5905.     
  5906.     def GetPrintPreview(*args, **kwargs):
  5907.         '''GetPrintPreview(self) -> PrintPreview'''
  5908.         return _windows_.PreviewControlBar_GetPrintPreview(*args, **kwargs)
  5909.  
  5910.     
  5911.     def OnNext(*args, **kwargs):
  5912.         '''OnNext(self)'''
  5913.         return _windows_.PreviewControlBar_OnNext(*args, **kwargs)
  5914.  
  5915.     
  5916.     def OnPrevious(*args, **kwargs):
  5917.         '''OnPrevious(self)'''
  5918.         return _windows_.PreviewControlBar_OnPrevious(*args, **kwargs)
  5919.  
  5920.     
  5921.     def OnFirst(*args, **kwargs):
  5922.         '''OnFirst(self)'''
  5923.         return _windows_.PreviewControlBar_OnFirst(*args, **kwargs)
  5924.  
  5925.     
  5926.     def OnLast(*args, **kwargs):
  5927.         '''OnLast(self)'''
  5928.         return _windows_.PreviewControlBar_OnLast(*args, **kwargs)
  5929.  
  5930.     
  5931.     def OnGoto(*args, **kwargs):
  5932.         '''OnGoto(self)'''
  5933.         return _windows_.PreviewControlBar_OnGoto(*args, **kwargs)
  5934.  
  5935.  
  5936.  
  5937. class PreviewControlBarPtr(PreviewControlBar):
  5938.     
  5939.     def __init__(self, this):
  5940.         self.this = this
  5941.         if not hasattr(self, 'thisown'):
  5942.             self.thisown = 0
  5943.         
  5944.         self.__class__ = PreviewControlBar
  5945.  
  5946.  
  5947. _windows_.PreviewControlBar_swigregister(PreviewControlBarPtr)
  5948.  
  5949. class PrintPreview(_core.Object):
  5950.     '''Proxy of C++ PrintPreview class'''
  5951.     
  5952.     def __repr__(self):
  5953.         return '<%s.%s; proxy of C++ wxPrintPreview instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  5954.  
  5955.     
  5956.     def __init__(self, *args):
  5957.         '''
  5958.         __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PrintPreview
  5959.         __init__(self, Printout printout, Printout printoutForPrinting) -> PrintPreview
  5960.         __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PrintPreview
  5961.         '''
  5962.         newobj = _windows_.new_PrintPreview(*args)
  5963.         self.this = newobj.this
  5964.         self.thisown = 1
  5965.         del newobj.thisown
  5966.  
  5967.     
  5968.     def SetCurrentPage(*args, **kwargs):
  5969.         '''SetCurrentPage(self, int pageNum) -> bool'''
  5970.         return _windows_.PrintPreview_SetCurrentPage(*args, **kwargs)
  5971.  
  5972.     
  5973.     def GetCurrentPage(*args, **kwargs):
  5974.         '''GetCurrentPage(self) -> int'''
  5975.         return _windows_.PrintPreview_GetCurrentPage(*args, **kwargs)
  5976.  
  5977.     
  5978.     def SetPrintout(*args, **kwargs):
  5979.         '''SetPrintout(self, Printout printout)'''
  5980.         return _windows_.PrintPreview_SetPrintout(*args, **kwargs)
  5981.  
  5982.     
  5983.     def GetPrintout(*args, **kwargs):
  5984.         '''GetPrintout(self) -> Printout'''
  5985.         return _windows_.PrintPreview_GetPrintout(*args, **kwargs)
  5986.  
  5987.     
  5988.     def GetPrintoutForPrinting(*args, **kwargs):
  5989.         '''GetPrintoutForPrinting(self) -> Printout'''
  5990.         return _windows_.PrintPreview_GetPrintoutForPrinting(*args, **kwargs)
  5991.  
  5992.     
  5993.     def SetFrame(*args, **kwargs):
  5994.         '''SetFrame(self, Frame frame)'''
  5995.         return _windows_.PrintPreview_SetFrame(*args, **kwargs)
  5996.  
  5997.     
  5998.     def SetCanvas(*args, **kwargs):
  5999.         '''SetCanvas(self, PreviewCanvas canvas)'''
  6000.         return _windows_.PrintPreview_SetCanvas(*args, **kwargs)
  6001.  
  6002.     
  6003.     def GetFrame(*args, **kwargs):
  6004.         '''GetFrame(self) -> Frame'''
  6005.         return _windows_.PrintPreview_GetFrame(*args, **kwargs)
  6006.  
  6007.     
  6008.     def GetCanvas(*args, **kwargs):
  6009.         '''GetCanvas(self) -> PreviewCanvas'''
  6010.         return _windows_.PrintPreview_GetCanvas(*args, **kwargs)
  6011.  
  6012.     
  6013.     def PaintPage(*args, **kwargs):
  6014.         '''PaintPage(self, PreviewCanvas canvas, DC dc) -> bool'''
  6015.         return _windows_.PrintPreview_PaintPage(*args, **kwargs)
  6016.  
  6017.     
  6018.     def DrawBlankPage(*args, **kwargs):
  6019.         '''DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool'''
  6020.         return _windows_.PrintPreview_DrawBlankPage(*args, **kwargs)
  6021.  
  6022.     
  6023.     def RenderPage(*args, **kwargs):
  6024.         '''RenderPage(self, int pageNum) -> bool'''
  6025.         return _windows_.PrintPreview_RenderPage(*args, **kwargs)
  6026.  
  6027.     
  6028.     def AdjustScrollbars(*args, **kwargs):
  6029.         '''AdjustScrollbars(self, PreviewCanvas canvas)'''
  6030.         return _windows_.PrintPreview_AdjustScrollbars(*args, **kwargs)
  6031.  
  6032.     
  6033.     def GetPrintDialogData(*args, **kwargs):
  6034.         '''GetPrintDialogData(self) -> PrintDialogData'''
  6035.         return _windows_.PrintPreview_GetPrintDialogData(*args, **kwargs)
  6036.  
  6037.     
  6038.     def SetZoom(*args, **kwargs):
  6039.         '''SetZoom(self, int percent)'''
  6040.         return _windows_.PrintPreview_SetZoom(*args, **kwargs)
  6041.  
  6042.     
  6043.     def GetZoom(*args, **kwargs):
  6044.         '''GetZoom(self) -> int'''
  6045.         return _windows_.PrintPreview_GetZoom(*args, **kwargs)
  6046.  
  6047.     
  6048.     def GetMaxPage(*args, **kwargs):
  6049.         '''GetMaxPage(self) -> int'''
  6050.         return _windows_.PrintPreview_GetMaxPage(*args, **kwargs)
  6051.  
  6052.     
  6053.     def GetMinPage(*args, **kwargs):
  6054.         '''GetMinPage(self) -> int'''
  6055.         return _windows_.PrintPreview_GetMinPage(*args, **kwargs)
  6056.  
  6057.     
  6058.     def Ok(*args, **kwargs):
  6059.         '''Ok(self) -> bool'''
  6060.         return _windows_.PrintPreview_Ok(*args, **kwargs)
  6061.  
  6062.     
  6063.     def SetOk(*args, **kwargs):
  6064.         '''SetOk(self, bool ok)'''
  6065.         return _windows_.PrintPreview_SetOk(*args, **kwargs)
  6066.  
  6067.     
  6068.     def Print(*args, **kwargs):
  6069.         '''Print(self, bool interactive) -> bool'''
  6070.         return _windows_.PrintPreview_Print(*args, **kwargs)
  6071.  
  6072.     
  6073.     def DetermineScaling(*args, **kwargs):
  6074.         '''DetermineScaling(self)'''
  6075.         return _windows_.PrintPreview_DetermineScaling(*args, **kwargs)
  6076.  
  6077.     
  6078.     def __nonzero__(self):
  6079.         return self.Ok()
  6080.  
  6081.  
  6082.  
  6083. class PrintPreviewPtr(PrintPreview):
  6084.     
  6085.     def __init__(self, this):
  6086.         self.this = this
  6087.         if not hasattr(self, 'thisown'):
  6088.             self.thisown = 0
  6089.         
  6090.         self.__class__ = PrintPreview
  6091.  
  6092.  
  6093. _windows_.PrintPreview_swigregister(PrintPreviewPtr)
  6094.  
  6095. class PyPrintPreview(PrintPreview):
  6096.     '''Proxy of C++ PyPrintPreview class'''
  6097.     
  6098.     def __repr__(self):
  6099.         return '<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  6100.  
  6101.     
  6102.     def __init__(self, *args):
  6103.         '''
  6104.         __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PyPrintPreview
  6105.         __init__(self, Printout printout, Printout printoutForPrinting) -> PyPrintPreview
  6106.         __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PyPrintPreview
  6107.         '''
  6108.         newobj = _windows_.new_PyPrintPreview(*args)
  6109.         self.this = newobj.this
  6110.         self.thisown = 1
  6111.         del newobj.thisown
  6112.         self._setCallbackInfo(self, PyPrintPreview)
  6113.  
  6114.     
  6115.     def _setCallbackInfo(*args, **kwargs):
  6116.         '''_setCallbackInfo(self, PyObject self, PyObject _class)'''
  6117.         return _windows_.PyPrintPreview__setCallbackInfo(*args, **kwargs)
  6118.  
  6119.     
  6120.     def base_SetCurrentPage(*args, **kwargs):
  6121.         '''base_SetCurrentPage(self, int pageNum) -> bool'''
  6122.         return _windows_.PyPrintPreview_base_SetCurrentPage(*args, **kwargs)
  6123.  
  6124.     
  6125.     def base_PaintPage(*args, **kwargs):
  6126.         '''base_PaintPage(self, PreviewCanvas canvas, DC dc) -> bool'''
  6127.         return _windows_.PyPrintPreview_base_PaintPage(*args, **kwargs)
  6128.  
  6129.     
  6130.     def base_DrawBlankPage(*args, **kwargs):
  6131.         '''base_DrawBlankPage(self, PreviewCanvas canvas, DC dc) -> bool'''
  6132.         return _windows_.PyPrintPreview_base_DrawBlankPage(*args, **kwargs)
  6133.  
  6134.     
  6135.     def base_RenderPage(*args, **kwargs):
  6136.         '''base_RenderPage(self, int pageNum) -> bool'''
  6137.         return _windows_.PyPrintPreview_base_RenderPage(*args, **kwargs)
  6138.  
  6139.     
  6140.     def base_SetZoom(*args, **kwargs):
  6141.         '''base_SetZoom(self, int percent)'''
  6142.         return _windows_.PyPrintPreview_base_SetZoom(*args, **kwargs)
  6143.  
  6144.     
  6145.     def base_Print(*args, **kwargs):
  6146.         '''base_Print(self, bool interactive) -> bool'''
  6147.         return _windows_.PyPrintPreview_base_Print(*args, **kwargs)
  6148.  
  6149.     
  6150.     def base_DetermineScaling(*args, **kwargs):
  6151.         '''base_DetermineScaling(self)'''
  6152.         return _windows_.PyPrintPreview_base_DetermineScaling(*args, **kwargs)
  6153.  
  6154.  
  6155.  
  6156. class PyPrintPreviewPtr(PyPrintPreview):
  6157.     
  6158.     def __init__(self, this):
  6159.         self.this = this
  6160.         if not hasattr(self, 'thisown'):
  6161.             self.thisown = 0
  6162.         
  6163.         self.__class__ = PyPrintPreview
  6164.  
  6165.  
  6166. _windows_.PyPrintPreview_swigregister(PyPrintPreviewPtr)
  6167.  
  6168. class PyPreviewFrame(PreviewFrame):
  6169.     '''Proxy of C++ PyPreviewFrame class'''
  6170.     
  6171.     def __repr__(self):
  6172.         return '<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  6173.  
  6174.     
  6175.     def __init__(self, *args, **kwargs):
  6176.         '''
  6177.         __init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition, 
  6178.             Size size=DefaultSize, 
  6179.             long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PyPreviewFrame
  6180.         '''
  6181.         newobj = _windows_.new_PyPreviewFrame(*args, **kwargs)
  6182.         self.this = newobj.this
  6183.         self.thisown = 1
  6184.         del newobj.thisown
  6185.         self._setCallbackInfo(self, PyPreviewFrame)
  6186.         self._setOORInfo(self)
  6187.  
  6188.     
  6189.     def _setCallbackInfo(*args, **kwargs):
  6190.         '''_setCallbackInfo(self, PyObject self, PyObject _class)'''
  6191.         return _windows_.PyPreviewFrame__setCallbackInfo(*args, **kwargs)
  6192.  
  6193.     
  6194.     def SetPreviewCanvas(*args, **kwargs):
  6195.         '''SetPreviewCanvas(self, PreviewCanvas canvas)'''
  6196.         return _windows_.PyPreviewFrame_SetPreviewCanvas(*args, **kwargs)
  6197.  
  6198.     
  6199.     def SetControlBar(*args, **kwargs):
  6200.         '''SetControlBar(self, PreviewControlBar bar)'''
  6201.         return _windows_.PyPreviewFrame_SetControlBar(*args, **kwargs)
  6202.  
  6203.     
  6204.     def base_Initialize(*args, **kwargs):
  6205.         '''base_Initialize(self)'''
  6206.         return _windows_.PyPreviewFrame_base_Initialize(*args, **kwargs)
  6207.  
  6208.     
  6209.     def base_CreateCanvas(*args, **kwargs):
  6210.         '''base_CreateCanvas(self)'''
  6211.         return _windows_.PyPreviewFrame_base_CreateCanvas(*args, **kwargs)
  6212.  
  6213.     
  6214.     def base_CreateControlBar(*args, **kwargs):
  6215.         '''base_CreateControlBar(self)'''
  6216.         return _windows_.PyPreviewFrame_base_CreateControlBar(*args, **kwargs)
  6217.  
  6218.  
  6219.  
  6220. class PyPreviewFramePtr(PyPreviewFrame):
  6221.     
  6222.     def __init__(self, this):
  6223.         self.this = this
  6224.         if not hasattr(self, 'thisown'):
  6225.             self.thisown = 0
  6226.         
  6227.         self.__class__ = PyPreviewFrame
  6228.  
  6229.  
  6230. _windows_.PyPreviewFrame_swigregister(PyPreviewFramePtr)
  6231.  
  6232. class PyPreviewControlBar(PreviewControlBar):
  6233.     '''Proxy of C++ PyPreviewControlBar class'''
  6234.     
  6235.     def __repr__(self):
  6236.         return '<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>' % (self.__class__.__module__, self.__class__.__name__, self.this)
  6237.  
  6238.     
  6239.     def __init__(self, *args, **kwargs):
  6240.         '''
  6241.         __init__(self, PrintPreview preview, long buttons, Window parent, 
  6242.             Point pos=DefaultPosition, Size size=DefaultSize, 
  6243.             long style=0, String name=PanelNameStr) -> PyPreviewControlBar
  6244.         '''
  6245.         newobj = _windows_.new_PyPreviewControlBar(*args, **kwargs)
  6246.         self.this = newobj.this
  6247.         self.thisown = 1
  6248.         del newobj.thisown
  6249.         self._setCallbackInfo(self, PyPreviewControlBar)
  6250.         self._setOORInfo(self)
  6251.  
  6252.     
  6253.     def _setCallbackInfo(*args, **kwargs):
  6254.         '''_setCallbackInfo(self, PyObject self, PyObject _class)'''
  6255.         return _windows_.PyPreviewControlBar__setCallbackInfo(*args, **kwargs)
  6256.  
  6257.     
  6258.     def SetPrintPreview(*args, **kwargs):
  6259.         '''SetPrintPreview(self, PrintPreview preview)'''
  6260.         return _windows_.PyPreviewControlBar_SetPrintPreview(*args, **kwargs)
  6261.  
  6262.     
  6263.     def base_CreateButtons(*args, **kwargs):
  6264.         '''base_CreateButtons(self)'''
  6265.         return _windows_.PyPreviewControlBar_base_CreateButtons(*args, **kwargs)
  6266.  
  6267.     
  6268.     def base_SetZoomControl(*args, **kwargs):
  6269.         '''base_SetZoomControl(self, int zoom)'''
  6270.         return _windows_.PyPreviewControlBar_base_SetZoomControl(*args, **kwargs)
  6271.  
  6272.  
  6273.  
  6274. class PyPreviewControlBarPtr(PyPreviewControlBar):
  6275.     
  6276.     def __init__(self, this):
  6277.         self.this = this
  6278.         if not hasattr(self, 'thisown'):
  6279.             self.thisown = 0
  6280.         
  6281.         self.__class__ = PyPreviewControlBar
  6282.  
  6283.  
  6284. _windows_.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr)
  6285.